If a Customer has many Orders attached to them. How would you lazy load the Orders List using NHibernate.
Is it something that needs to be set up mapping file? any
Heres a good article:
http://blogs.chayachronicles.com/sonofnun/archive/2007/03/30/230.aspx
From the above article:
The most common is to simply mark the class with the 'lazy="true"' attribute or place 'default-lazy="true"' in the mapping declaration:
Or