2010-09-27 8 views

Répondre

1

Essayez:

string hql = @"select s1.alphanum from sampler s1 where 
       s1.alphanum not in 
       (select s2.alphanum from sampler s2, samplerassignment sa where s2.alphanum = sa.alphanum and sa.isactive = 1)"; 

var result = session.CreateQuery(hql).List(); 

session est ISession votre NHibernate.

Questions connexes