Suppose I have
public class Product: Entity
{
public IList- Items { get; set; }
}
Suppose I want to find an item with max someth
You can now do that with NHibernate 5 directly without specific code ! It won't load the whole collection into memory.
See https://github.com/nhibernate/nhibernate-core/blob/master/releasenotes.txt
Build 5.0.0
=============================
** Highlights
...
* Entities collections can be queried with .AsQueryable() Linq extension without being fully loaded.
...