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 -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -