How to eager load lazy-loading properties/components with NHibernate Criteria API? -



How to eager load lazy-loading properties/components with NHibernate Criteria API? -

i have lazy-loading property (component) in 1 of entity classes. in hql can write "fetch properties" eagerly load it. can same criteria api? tried criteria.setfetchmode("propertyname", fetchmode.eager) not working. using nhibernate 3.1 ga

nhibernate nhibernate-criteria

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -