NHibernate join and projection properties

Posted by devgroup on Stack Overflow See other posts from Stack Overflow or by devgroup
Published on 2010-05-26T23:10:45Z Indexed on 2010/05/26 23:11 UTC
Read the original article Hit count: 168

Filed under:
|
|

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 ?

© Stack Overflow or respective owner

Related posts about c#

Related posts about nhibernate