How to limit the number of rows returned in NHibernate?
I am looking for something like SetMaxResult(), but couldn't find it in Nhibernate namespace!
Note: I want to use NHibernate.Criterion
, not NHibernate.IQuery
, so it's best if you can provide that example.