I Had Written a Query iN NHibernate as
var queryResult = CurrentSession.QueryOver().Where(r => r.StatusId == 1).JoinQueryOver(a => a.ActorList).Where(s=>s.IsActor==1).List().Distinct().ToList();
It Is Getting Records Where(s=>s.IsActor==0) also...
How can i get only IsActor==1 records...
Thanks in Advance
NHIbernate Query
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Chetan RanpariyaRank #1,852 · 801 reputationPosted Dec 28, 2016, 12:58 AM EST