I know how to do this in T-SQL - it's easy.
How can I do this in EF using C# ?
SELECT
name, email, COUNT(*)
FROM
users
GROUP BY
name, email
HAVING
COUNT(*) > 1
What is the Entity Framework equivalent to this?
The question that is marked as a duplicate is not an answer to this question. Maybe the person who marked it as a duplicate doesn't understand EF or T-SQL.