是否可以在Nhibernate QueryOver
语句中使用同一个表两次?
我尝试将它与两个不同的别名一起使用但从未让它运行。
Select
P.Name,
C1.Name,
C2.Name
From
Project P
Left Outer Join Customer C1 On P.Id = C1.Id and C1.Status = 1
Left Outer Join Customer C2 On P.Id = C2.Id and C2.Status = 2