去除重复的数据请高手帮
IQueryable<KaoQingGuanLi> queryData1 = repository.DaoChuData(db, order, sort, search);
var queryData= from a in queryData1
from b in a.YuanGongXingXi
from c in b.SysDepartment
where c.Id==DepId
orderby a.ShiJia
select a;
------解决方案--------------------queryData = queryData.GroupBy(x => new {x.备注, x.员工信息}).Select(x => x.First())