var q =
from p in db.Products
group p by p.CategoryID into g
select new {
g.Key,
NumProducts = g.Count()
}; g.key中的key是什么意思?
largeQ
富国沪深
相关分类