日期:2014-05-17  浏览次数:20446 次

linq子查询问题??
select * from table1 where table1.ID not in(select TID from table2 where UID=8)

请问下这个用 LinQ 怎样去写啊 ?

------解决方案--------------------
from s in table1 where !(from p in table2 select p.ID).ToList().Contains(s.ID) select s;