与此 SQL 查询具有相同结果的 NHibernate 过滤器是什么:
SELECT A.Id as ItemId, A.column1 as ItemTitle, A.ListId as ItemListId,
B.Id as LookupItemId, B.Value as LookupItemValue, B.ListId as LookupItemListId
FROM MyTable A LEFT JOIN MyTable B ON B.Id = A.LookupId
WHERE A.ListId = 'EmployeeListGuid'
AND (B.ListId='EmployeerListGuid' OR B.Id IS NULL)