NHIbernate Query

Dec 26 2016 7:34 AM
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)