I have tried with both a set and a bag, no difference. How do you
apply a transformer to a LINQ query?

-Michael

On May 27, 2:11 am, Ricardo Peres <[email protected]> wrote:
> I think that's because you are using a bag. Try using a set instead,
> it is a little change.
> Otherwise, you will have to use the DistinctRootTransformer.
>
> RP
>
> On May 27, 9:22 am, Michael Teper <[email protected]> wrote:
>
>
>
> > Except that I don't. I end up with *four* operations, *each* with four
> > steps.
>
> > -Michael
>
> > On May 26, 7:39 pm, Darren Kopp <[email protected]> wrote:
>
> > > That is working correctly. Since you want to load all of the child items,
> > > you are getting all the child items, and you also have the data for the
> > > parent entity. nhibernate will rehydrate it into the correct form so that
> > > you'll have 1 operation with 4 steps using 1 query.- Hide quoted text -
>
> - Show quoted text -

-- 
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