Preetham Thangamma

Preetham Thangamma

  • NA
  • 167
  • 16.3k

How to write where clause using LINQ

Jun 8 2022 12:10 PM

Good Morning,

Please do let me know how to write the following sql query using LINQ in ASP.Net Core 6:

  select u.Email,u.Password,p.UserRole 
  from [AMS].[dbo].[User] u join UserProgram p
  on u.id=p.UserId
  where p.UserRole=1


Answers (2)