Convert this SQL query into LINQ query
where U.IsAdmin, U.IsApprover, U.IsActive, R.IsActive are of bit data type
SELECT U.ID, U.FirstName, U.LastName, U.RoleID, U.UserID, U.IsAdmin, U.IsApprover, r.RoleName RoleName FROM USERS U
INNER JOIN [ROLE] R ON U.ROLEID = R.ID AND R.IsActive = 1
WHERE UPPER(U.UserID)= @UserID AND U.Password = @Password AND U.IsActive = 1

Shuvojit HalderPosted Feb 26, 2016, 5:18 AM
Zeeshan AzimPosted Feb 26, 2016, 11:26 PM
Rajeev PunhaniPosted Feb 26, 2016, 3:39 AM
Hi Zeeshan,
Please use the following tool.It may help.
If the above solution is helpful then,accept the answer.