select alphanum from sampler where alphanum not in (select sampler.alphanum from sampler, samplerassignment where sampler.alphanum = samplerassignment.alphanum and isactive = 1);
I have this statement and would like to use NHibernate query to execute it. How shld I write it in NHibernate?