Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 NHibernate Criteria API 获取“top n”?理想情况下,我想使用分离的标准。
就像是:-
criteria.SetFirstResult(1); criteria.SetMaxResults(10);
将获取前 10 个结果。