sonal malhotra

sonal malhotra

  • NA
  • 410
  • 48.6k

how to write query in LInq to sql

Aug 18 2020 2:36 AM
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)