NHibernate join and projection properties
- by devgroup
Hello,
I have simple situation (like on the image link text) and simple SQL query
SELECT M.Name,
A.Name,
B.Name
FROM Master M LEFT JOIN DetailA A
ON M.DescA = A.Id LEFT JOIN DetailB B
ON M.DescB = B.Id
How to achive the same effect in nHibernate using CriteriaAPI ?