Linq to SQL using group By, and order by count

This is mysql query:

SELECT count(PVersion), PVersion
  FROM [Products].[dbo].[Active_Details] 
group by PVersion 
order by count(PVersion);

What will be its LINQ to SQL.

13
задан Bertrand Marron 28 September 2010 в 11:45
поделиться