标签:
IList<EventStudentModel> list = eventstudao.getEventStudent_mx123(eventstu, pageInfo); list.GroupBy(a => a.student_id).Select(it => it.First()).ToList()
linq GroupBy
原文地址:http://www.cnblogs.com/cang12138/p/5305629.html