FNH Newbie question -
I have two objects RR and TT defined as following:
public class RR
{
Id
Name
TT_Id //corresponds to TT.Id
}
public class TT
{
Id
Name
Type
}
I want to filter records from RR as per following SQL:
SELECT RR.*
FROM RR
LEFT OUTER JOIN TT ON RR.TT_Id = TT.Id
WHERE TT.Type <> 7
Can anyone please guide how can I add filter criteria to achieve above in NH.
Thank you!
why you have TT_Id and not TT itself in RR? IMO it will make a lot of things more difficult than needed.
if it would reference to TT then
otherwise
or