NHibernate just in time SQL for linq criteria in package collections
In NHibernate it is possible to filter a property of a collection that appears as a package association so that when lazy loaded, the filter is applied directly in SQL, rather than loading the entire collection of packages and then filtering it?
FYI - I am using xml mapping files.
0
ICS
source
to share
1 answer
Yes, if you define filter in mappings: http://nhibernate.info/doc/nh/en/index.html#filters
+2
Oskar Berggren
source
to share