Hi,
I want to get an entity with its sub-properties. How can I do that with nhibernate without indicating in mapping. I want to control the fetching like we can do in linq-to-sql by "LoadWith()" method. Not an automated solution.
public class Survey
{
public virtual long Id;
public virtual String Title;
public virtual IList<SurveyPage> Pages;
}
I want to get a survey with its Pages properties loaded, in exact one query without using mapping file. How can I do that in nhibernate?