I want to convert this query to LINQ / EF
select a.ArticleId, COUNT(*) as total from Articles a
inner join MetaKeywords b on a.ArticleId = b.ArticleId
where b.MetaKeyword in ('_catalog', '_register')
group by a.ArticleId
having COUNT(*) >= 2
I tried many options but result was not as desired.
In the above query 2 is number of keywords to searched from child table..