I'm trying to code "not in" statement in FN, but don't really know what's the best way to make it. Here is some sql statement:
select * from T1
where T1. id not in
(
select distinct T2.fkeyID from T2
)
Should I create mappings with references one-to-many and use a property check? Or is there any other way, e.g. somehow to write QueryOver for resolving issue? Thanks.