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;