Hi and thanks for the response, I'm using NH 3 and the LINQ provider that comes with it and I can't find the functionality there. And it is "fetch all properties" I'm looking for, not join.
As a side note, support for lazy properties were introduced in NH 3. Regards, Mattias On Jan 27, 4:50 pm, Daniel Lidström <[email protected]> wrote: > 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/LinqTo... > 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.
