How can I group by multiple columns using linq projection?
Something like that:
var q = db.Areas.GroupBy(x => x.AreaCatId, x.AreaCatName, x.AreaId, x.AreaName);
The result is in a flat result set, for example:
AreaCatId, AreaCatName, AreaId, AreaName 0 US 1 FL 0 US 2 NY 1 Canada 3 BC
source share