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
David Smith
NA
2k
0
SQL to LINQ Help
Nov 21 2012 3:06 PM
I am really struggling transferring this SQL to linq below, can someone help me
SELECT tblService.FilledByID, SUM(refServiceType.ServiceTypeAvgHours) AS TotalHrs
FROM (tblService INNER JOIN
refServiceType ON tblService.ServiceType = refServiceType.ServiceTypeID)
WHERE (tblService.ServiceStatus <> 5) AND (tblService.ServiceStatus <> 7) AND (tblService.ServiceDateStart BETWEEN NOW() AND NOW() - 30)
GROUP BY tblService.FilledByID
Reply
Answers (
2
)
how to convert Stored procedure into Linq SELECT * FROM dbo.View_ProductVersie
How to create insert, update, delete operation through LINQ