parent.AddChild(transientChid);
session.Save(parent);

I have the parent mapped to cascade, and it does.  But
transientChild.Id is still the transient value (0) after it has been
persisted with the cascade.  Is this expected?  How do I get the newly
created child's Id?

By the way, I have two situations like this, one is mapped inverse and
the other is not.  Same result in both cases: child Id is transient
value after cascade inserted;

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to