Linq实现SQL in

比如 Id in (1,2,3)

int[] a={1,2,3};

list.Where(x=>a.Contains(x.Id))
原文地址:https://www.cnblogs.com/a849788087/p/6723373.html