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
G Y
1.5k
229
44k
SQL Query to LINQ Conversion
Feb 2 2018 12:46 AM
Please provide me with the conversion of below SQL query to LINQ
select COUNT(rg.TagId), t.Name, r.Id,r.Name from ResourcesTag rg
inner join Tag t on rg.TagId = t.Id
inner join Resources r on rg.ResourceId =r.Id
group by rg.TagId,t.Name,r.Id,r.Name
order by COUNT(rg.TagId) desc
Reply
Answers (
1
)
use of First and FirstOrDefault
When to use AsEnumerable() along with EF to fetch data