NHibernate FetchMode
- by Sandra
Hi All,
I have an object Parent which has a list of Children:
class Parent {Id, Name, IList children}
class Child {Id, Name}
I need to select all parents where there is a condition for their children but I do not want to get duplicate rows (don't want the children details to appear in select list)
Here is the code:
…