0
如何轉換SQL到LINQ轉換SQL被分LINQ組,算
SELECT
[good_id]
,MIN([good_price]) as minPrice
,Count([distributor_id]) as distrCount
FROM [Provizor].[dbo].[PRICES] where region_id=22
GROUP BY [good_id]
ORDER BY distrCount desc
如何做到這一點的LINQ分組
答案在這裏:HTTP: //stackoverflow.com/questions/654285/how-do-i-translate-this-group-by-min-sql-query-into-linq – Luxspes 2012-04-28 04:46:15