2
Answers

how to write query in LInq to sql

hi expert,
this is ssimple qeury ,
SELECT CategoryIdPrimary, ISNULL(CategoryName,'') AS CategoryName
FROM tblCategory WITH (NOLOCK) Where TypeOfCategory IN ( 6 ,1 ,2,3)
Order By CategoryName
 i want to convert to linq query 
 how to write these query
 please help 
Answers (2)