TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Zeeshan Azim
748
1.2k
13.5k
Help needed in SQL query conversion into LINQ
Feb 26 2016 2:59 AM
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
Reply
Answers (
3
)
how to use data bind in dropdown using linq code
How to PIVOT all rows into columns using LINQ