我有点坚持将 SQL 查询转换为 LINQ。任何机构都可以帮助我。这是我的查询
SELECT x.*
FROM FilterType x
JOIN (SELECT t.FilterType
FROM FilterType t
where FilterId in (7,15)
GROUP BY t.FilterType
HAVING COUNT(t.FilterType) > 1) y ON y.FilterType = x.FilterType
提前致谢。