How to use the IN operator in linq
Posted
by Hallaghan
on Stack Overflow
See other posts from Stack Overflow
or by Hallaghan
Published on 2010-06-11T15:47:04Z
Indexed on
2010/06/11
15:52 UTC
Read the original article
Hit count: 173
linq-to-sql
I'm querying a view and filtering the results with a column named status. I'd like to query it so I can search for rows with different status, by using the IN operator as I'd do in SQL.
As so:
SELECT * FROM VIEW WHERE Status in ('....', '.....')
How can I achieve this?
© Stack Overflow or respective owner