var q =
from p in db.Products
group p by p.CategoryID into g
select new {
g.Key,
NumProducts = g.Count()
}; g.key中的key是什么意思?
慕慕森
胡子哥哥
相关分类