标签:
单个字段:
var list1 = list.Select(field1 => field1.CouponID).ToList();
多个字段:
var list1 = list.Select(field1 => new { field1.CouponID, field1.EndDate }).ToList();
全部映射:
var list1 = list.Select(field1 => field1).ToList();
标签:
原文地址:http://www.cnblogs.com/superfeeling/p/4728830.html