On 27 Jan, 16:42, yhrn <[email protected]> wrote: > Hi all, > I have two questions about lazy loaded properties in NH 3.0: > 1) Is there any way of eager loading properties when using LINQ or > QueryOver (like "fetch all properties" in HQL)? > 2) Is there any way of not getting proxies for entities with lazy > properties when searching with "fetch all properties"?
Hello Mattias, regarding your first question, I found this interesting post: http://guildsocial.web703.discountasp.net/dasblogce/2009/07/29/LinqToNHibernateJoins.aspx It seems there's some hope of join being possible, now that NHibernate 3 has a shiny new Linq provider. Unfortunately the manual does not yet cover Linq 2 NH. The only mention is this sentence "...NHibernate has a built-in Linq provider...". Good luck! Daniel -- 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.
