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

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

ms access - C# - Using OleDbParameter on table name -