I'm trying to directly set the foreign key for a child object that has
a version column.

var parent = new Parent { ChildId = 102 };

When I save this object, NHibernate does not set the foreign key,
presumably because the version column is not set.
I cannot use the session.Load method because I'm on the client side
and I don't want to directly map the foreign key.
Is there a way to make this code work as above?

-- 
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