此处报这个错是因为 order by c 排序这块有问题。应该这么写 orderby c.Id 转载于:https://www.cnblogs.com/wgx0428/archive/2012/02/02/2335382.html