It should be easy enough to add DistinctRootEntityResultTransformer to the code base if it doesn't already have it somewhere.
On Jun 3, 5:39 pm, Chris Nicola <[email protected]> wrote: > I have tried expand for this. It has the unfortunate result of returning > the results of a join. Essentially you will receive multiple copies of the > parent object, one for each of the expanded children objects. > > Nevertheless you can still use expand to do this and filter your final > results but it would obviously be much better if it returned only one of > each unique entity. > > On Tue, Jun 2, 2009 at 4:16 PM, CassioT <[email protected]> wrote: > > > Hi Tuna. I found that Shawn Wildermuth contributed to Linq2NH project > > and he > > added a new functionality, beside others, called Expand. We can you it > > to eager loading. > > > Here he describe it: > > >http://wildermuth.com/2008/07/20/Silverlight_2_NHibernate_LINQ_==_Sweet > > > I will test it later to see what I can do. > > > Thank you > > > On Jun 2, 4:16 pm, Tuna Toksoz <[email protected]> wrote: > > > There was something I remember INhibernateQueryable or something like > > this > > > which has query cache and IIRC also the fetch option for a given path. > > > > Tuna Toksöz > > > Eternal sunshine of the open source mind. > > >http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitt... > > > > On Tue, Jun 2, 2009 at 10:07 PM, CassioT <[email protected]> wrote: > > > > > to dynamically complete it to load the owner too. The same thing, and > > > > even more important is do it with the bags of Car. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
