LINQ 里面不等于怎么写

2025-02-27 06:38:23
推荐回答(1个)
回答1:

方法很多,一种是集合相交论。另外一种是循环遍历 --------------------------------------------------------------------- 第二种较为容易理解: from p in table1 where !(from z in table2 select z.id).Contains(p.id) select p ----------...