i want to convert sql query to linq to sql

Apr 16 2015 4:06 AM
i want convert below query sql to linq to sql 
select max(id),nleadpk from `schedule` where nleadpk > 0 &&(nleadpk ==1 || nleadpk == 2) group by nleadpk
 
please hlep on this . thanks in advance  

Answers (4)