title: Get the ID of a child entity just after a parent has been saved
body: <p>There is a parent entity that has a collection of child entities (cascale=all) and each child entity has a collection of grand-child entities (cascale=all).</p>
  
  <p>Given a session, I create a grand-child and add it to the children of a child in the parent and since I also modified some other objects inside the hierarchy, I call Session.SaveOrUpdate on the root (parent).</p>
  
  <p>After this I need the id of the grand-child entity but it is 0.</p>
  
  <p>Now if I additionally call Session.SaveOrUpdate on the grand-child too, then I can get its new id. Is it normal behavior? With the cascades set to all, I would have thought that I could get the id when saving the parent.</p>
  
  <p>Any enlightments?</p>