Linq in 用法
var lisss= (from a in list where (new int?[] { 1, 2 }).Contains(a.ColumnId) select a).ToList();
Linq not in 用法
var lisss= (from a in list where
!(new int?[] { 1, 2 }).Contains(a.ColumnId) select a).ToList();
sql in 用法
delete from Ad where Ad_id in (1,2,3)
sql not in 用法
delete from Ad where Ad_id not in (1,2,3)
sql id 不为空 用法