something like

var list = session.CreateMultiQuery
.Add("select top 5 o from table_one o order by o.[field to sort on]
desc")
.Add("select top 5 o from table_two o order by o.[field to sort on]
desc")
.Add("select top 5 o from table_three o order by o.[field to sort on]
desc")
.List();

var one = list[0];
var two = list[1];
var three = list[2];

On Apr 27, 8:38 am, Kris-I <[email protected]> wrote:
> Hello,
>
> I have 3 tables, I'd like to get the 5 last records of each table .... what
> is the best way to do this ?
>
> Thanks,
--~--~---------~--~----~------------~-------~--~----~
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