NHibernate Left Outer Join
Posted
by Matthew
on Stack Overflow
See other posts from Stack Overflow
or by Matthew
Published on 2010-05-03T04:43:41Z
Indexed on
2010/05/03
4:48 UTC
Read the original article
Hit count: 324
I'm looking to create a Left outer join Nhibernate query with multiple on statements akin to this:
SELECT * FROM [Database].[dbo].[Posts] p LEFT JOIN [Database].[dbo].[PostInteractions] i
ON p.PostId = i.PostID_TargetPost And i.UserID_ActingUser = 202
I've been fooling around with the critera and aliases, but I haven't had any luck figuring out how do to this. Any suggestions?
© Stack Overflow or respective owner