var queryResult = from p in db.Products
where (new int?[] {1,2}).Contains(p.CategoryID)
select p;
我网上查到的资料在in中都是写死的,但是如果我想传一个List<int> IDS的集合,让查询出来的订单号包含在这个集合中,类似 select ID from  a where ID in(IDS )这种效果的该怎么办?