Are NHibernate lists loaded on demand?
- by André Pena
This is a pretty simple question. When I do this:
session.CreateCriteria(typeof(Product)).List();
The resulting list will load as I access it? Let's say, from 100 to 100 elements for example? Or will it load all once?
In the case it's not "virtual" how can I make it so? What's the best pratice about it?
Thanks;