我有 EF 查询:
IEnumerable<Account> accounts
= (
from a in dc.Accounts
join m in dc.GroupMembers on a.AccountID equals m.AccountID
where m.GroupID == GroupID && m.IsApproved
select a)
.Skip((_configuration.NumberOfRecordsInPage * (PageNumber - 1)))
.Take(_configuration.NumberOfRecordsInPage);
如何用流利的 nhibernate 查询编写它Session.CreateCriteria<>
?(我的问题是加入)