help me to convert this query to linq
Select Count (d.eanumber) as Eas, dem. Model, month (dem. IncorporatedDate) as months, Year (dem. IncorporatedDate) as years from DeviationEngineModels dem join Deviation d on d.Id = dem. DeviationId where dem. IncorporatedDate is not null and dem. Published =1
and Year (dem. IncorporatedDate) = 2022
and d.IsDeleted !=1
group by month (dem. IncorporatedDate), dem. Model, Year (dem. IncorporatedDate) ORDER BY months


Jignesh KumarRank #91 · 22.9K reputationPosted Sep 8, 2022, 11:45 PM EDT
Patel134 reputationPosted Sep 9, 2022, 12:36 AM EDT