I am trying to construct a query like the following, but the distinct
clause is not working.
No DISTINCT keyword appears in the query and nondistinct values are
returned.
Session.Linq<Foobar>()
.OrderBy(x => x.Baz)
.Select(x => new { x.Baz, x.Bar }
.Distinct()
.ToList()
Am I doing something wrong?
--
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=.