var q = from p in db.Products group p by p.CategoryID into g select new { g.Key, NumProducts = g.Count() }; g.key中的key是什么意思? 查看完整描述