在linq to sql实现where条件中in或exists的用法: from a in TableA where !(from b in TableB where 条件 select b.ID).Contains(a.ID)