我有这个带有左联接的SQL Server查询-如何在EF到LINQ中使用它?
select
R.region_id, R.region_name, count(AR.Id) as Agency
from
region R
left join
governorate G on r.region_id = g.region_id
left join
AgencyReports AR on g.governorate_id = AR.governorate_id
group by
R.region_id, R.region_name
我需要将其转换为EF到LINQ查询。