How do I take the "top n" using NHibernate Criteria API? Ideally I'd like to use detached criteria.
something like:-
criteria.SetFirstResult(1);
criteria.SetMaxResults(10);
Will take the first 10 results.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With