日期:2014-05-17 浏览次数:20551 次
foreach (var item in subjectIds) { query = query.Where(x => x.SubjectsId == item); }
query = query.Where(x => subjectIds.Contains(x.SubjectsId));
query = query.Where(x => subjectIds.Any(s=>s==x.SubjectsId));