1
Answer

NHIbernate Query

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
Answers (1)