Scenario:
Entity : Person
               ID --PK
               Name
               Parent  --> Person type
               IList<Person> Children




 In the above scenario , i am able to create a foreign key with PK .
Everything looks fine . But when I call
_session.Get<Person>(int id ) method , it returns Children NULL..

Note : I do not want to create one more mapping table . How i can get
Children property data (without a customized method which has JOIN
with the same table between ID and Parent Id column)

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