Found :
IList results = Session.CreateMultiQuery()
.Add(Session.CreateQuery("from Order o ORDER BY o.DateAdded
DESC")
.SetMaxResults(10))
.List();
2009/4/27 Kris-I <[email protected]>
> And with a syntax like this :
>
> IList results = Session.CreateMultiQuery()
> .Add(Session.CreateQuery("from Order o ORDER BY o.DateAdded
> DESC"))
> .Add(Session.CreateQuery("from Order o ORDER BY
> o.DateUpdate ASC"))
> .List();
>
> ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---