I am new to NHibernate and am running into some issues with mapping.
Lets say I have a table:
People PersonID PersonName PersonAge Then I have another table
ParentRelaitions RelationID Parent (This is a PersonID) Child (This is also a PersonID) What I really want to get out of this is an object like this
public class Person { string name; int age; IList<Person> Children; //This is a list of all the persons children } How would I go about setting this up? I am fairly lost and can't seem to find any relevant examples.
Thanks