What is the linq equivalent to the SQL IN operator

前端 未结 9 2010
梦如初夏
梦如初夏 2020-12-05 06:34

With linq I have to check if a value of a row is present in an array.
The equivalent of the sql query:

WHERE ID IN (2,3,4,5)

How can I

9条回答
提交回复
热议问题