correct. as i suspected, the session does not align with the unit of work. 
you either need to build up the result before the session closes, or change 
the scope of the session so it's still available when you call 
entity.Parent.Id.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/oWkmb1m-F9MJ.
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