2014-01-24 Mike Christensen <[email protected]>
> I basically want this query:
>
> select distinct name from mytable order by name;
>
With LINQ:
session.Query<Models.NlpFormSynonyms>().OrderBy(x => x.Name).Select(x
=> x.Name).Distinct().ToList();
Or this:
(from x in session.Query<Models.NlpFormSynonyms>()
orderby x.Name
select x.Name).Distinct().ToList();
/Oskar
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/groups/opt_out.