string[] cities =new string[] { "Seattle", "London", "Vancouver", "Paris" };
var
q = db.Customers.Where(p=>cities.Contains(p.City)).ToList();

相关文章:

  • 2022-02-22
  • 2021-07-02
  • 2021-09-06
  • 2021-11-10
  • 2021-08-11
  • 2022-12-23
  • 2021-10-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2021-11-11
  • 2021-10-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案