Click here to Skip to main content
15,851,902 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
SELECT     SUM(p.Runs + p.Wickets + p.Catches + p.Runouts) AS points, u.UserId
FROM         tblPlayerUser AS pu INNER JOIN
                      tblUser AS u ON pu.UserId = u.UserId INNER JOIN
                      tblPlayer AS p ON pu.PlayerId = p.PlayerId

This is my sql query to fetch the records.

I want a code which will perform this query's operation in Linq to Sql(C#)
Can Anyone help me

1 solution

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900