Generally I want to lazy load, but I want to eager load everything for
a single query if the client tells me to do that.

Alun Harford

On Oct 2, 1:50 pm, "Fabio Maulo" <[EMAIL PROTECTED]> wrote:
> Always or for a specific use-case ?
>
> 2008/10/2 alunharford <[EMAIL PROTECTED]>
> > Hello all,
>
> > In my application I am normally in a position to explicitly state
> > collections that I want eager loaded, so all all my collections are
> > configured to be lazy loaded. I then use SetFetchMode when I want a
> > collection to be eager loaded.
>
> > However, I have now come into a situation where I want to eager load
> > complete object graph(s).
>
> > Is there a way I can set fetchmode to join 'globally' on a
> > DetachedCriteria instance?
>
> > Many thanks for any help,
>
> > Alun Harford
>
> --
> Fabio Maulo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to