var statusesToFind = new List<int> {1, 2, 3, 4};  
  
var foos = from foo in myEntities.Foos  
      where statusesToFind.Contains(foo.Status)  
      select foo;  

  

相关文章:

  • 2021-07-18
  • 2021-12-12
  • 2022-12-23
  • 2021-09-18
  • 2022-12-23
猜你喜欢
  • 2022-02-07
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
  • 2022-01-25
  • 2022-12-23
相关资源
相似解决方案