Using LINQ Group By and String.Join() / Aggregate() in Entity Framework 3.5

linq to sql 的时候,有时候需要用到 先group  然后来个 aggregate 串连一下值, 

但会总会出错,说不识别 aggregate 或者 string.join 方法

搜遍网络 一下链接是正解: 意思就是 在group by 之后记得tolist, 然后就可以正常aggregate了~

 

http://www.mythos-rini.com/blog/archives/4510

posted @ 2014-02-27 14:13  akak123  阅读(679)  评论(0编辑  收藏  举报