Can't you force it to 'Lazy' if the mapping says eager? From: Fabio Maulo Sent: Saturday, August 14, 2010 4:49 PM To: [email protected] Subject: Re: [nhusers] NHibernate 3 questions
Is "Eager" redundant ? On Sat, Aug 14, 2010 at 12:17 PM, Richard Brown (gmail) <[email protected]> wrote: Is NH 3 safe to be used in production? As long as your application is not life-threatening, I suspect so. How to eagerly fetch collection using QueryOver? var personList = IQueryOver<Person> actual = CreateTestQueryOver<Person>() .Fetch(p => p.PersonList).Eager .List(); -------------------------------------------------- From: "Luka" <[email protected]> Sent: Friday, August 13, 2010 2:23 PM To: "nhusers" <[email protected]> Subject: [nhusers] NHibernate 3 questions Hi, Is NH 3 safe to be used in production? How to eagerly fetch collection using QueryOver? Thanks -- 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. -- 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. -- 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. -- 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.
