LINQ中怎么使用not in
select a.SemesterName,a.PKSemesterID
from semester a
where a.SemesterName not in (select top 1 b.SemesterName from semester b order by b.SemesterName desc)
order by SemesterName desc
这是小弟的SQL代码~
分少 别嫌弃
------解决方案--------------------!Contains() 即是not in