4
Answers

i want to convert sql query to linq to sql

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)