I am new to lambda. how can i write below code using lambda. thanks
User user1 = (from u in db.Users
join h in db.HCM_SMS_ROLE_MAPPINGs
on u.roleID equals h.SMS_Role_ID
where (u.Employee_Code == employeeCode && u.isDeleted == false && h.Is_Active_App == true)
select u).Distinct().FirstOrDefault();
LINQ