var q = from prod in db.Products group prod by prod.CategoryID into grouping select new { grouping.Key, TotalPrice = grouping.Sum(p => p.UnitPrice) };
posted @ giovedì 24 dicembre 2009 03:22
RSS