Ricardo, I included the mappings at the start of the thread. The
mapping is for a bag, but if I substitute "set" and update the class
definition accordingly with ISet / HashedSet, I end up with the same
result. (incidentally, why would set and bag behave differently? is
there an open JIRA case?)

Thank you!
-Michael

On May 29, 8:35 am, Ricardo Peres <[email protected]> wrote:
> Can you sent your mappings? Using a set should have done it, it is a
> known issue.
>
> On May 29, 7:37 am, Michael Teper <[email protected]> wrote:
>
>
>
> > 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 -- 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