有没有人知道使用 nHibernate 3 QueryOver 语法从子句中进行复合的方法 - 使用 Linq to objects 是可能的。我知道使用 Linq To nHibernate 是可能的,但我仍在努力了解 queryover api。
下面是取自 msdn 的 Linq to 对象示例:
var scoreQuery = from student in students
from score in student.Scores
where score > 90
select new { Last = student.LastName, score };
取自MSDN