Lazy loading

24 views
Skip to first unread message

premeister

unread,
May 3, 2012, 2:25:41 AM5/3/12
to Fluent NHibernate
Hi there,

I have mapped all my entities to use eager loading.

I want to be able to set lazy loading on my queries dynamically so
that I dont retrieve all the entities.

Please let me know how I can do this

Thanks

Rasmoo

unread,
May 6, 2012, 3:36:07 PM5/6/12
to Fluent NHibernate
As far as I know only the reverse will work, i.e. forcing eager load
on an otherwise lazy relationship thru setting a particular fetch
mode. You should consult the NHibernate documentation.

Eager load across all entities (aggregates?) sound a little weird.
Sounds like cascading reads in the whole model?
Reply all
Reply to author
Forward
0 new messages