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 -

ios - Fragment Shader GLSL for texture, color and texture/color -

c# - Why IEnumerable becomes empty after adding elements to a collection? -