linq lamda

var query6 = CustomerList.SelectMany(c => c.Orders);
var query6= from c in CustomerList

 

            from o on c.Orders

 

            select o;

 

posted @ 2016-07-14 14:16  wonderfulviews  阅读(110)  评论(0编辑  收藏  举报