How can I get "Top n" using the NHibernate Criteria API? Ideally I want to use different criteria.
something like: -
criteria.SetFirstResult (1); Criteria.SetMaxResults (10); Will take the first 10 results.
How can I get "Top n" using the NHibernate Criteria API? Ideally I want to use different criteria.
something like: -
criteria.SetFirstResult (1); Criteria.SetMaxResults (10); Will take the first 10 results.
Comments
Post a Comment