Hello
I have problems with a query in NHibernate.
The original SQL query looks like
SELECT Id
,Table1_Id
,Table2_Id
,Table3_Id
FROM (
SELECT Id
,Table1_Id
,Table2_Id
,Table3_Id
FROM Table_123
WHERE Table2_Id = 72
UNION SELECT
100 As Id
,151 As Table1_Id
,72 As Table2_Id
,20 As Table3_Id
) a
WHERE Table2_Id = 72
I need this code writen in NHibernate.Criteria. Is that possible?
Greez Riyixy