Preetham Thangamma

Preetham Thangamma

  • 2.1k
  • 167
  • 13.1k

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
  where p.UserRole=1

Answers (2)