Moving back from SQL to LINQ2SQL is sometimes quite simple. The following statement
SELECT user FROM users WHERE lastname='jones'
easy to carry
from u in users where u.lastname='jones' select u
But how do you get the following SQL?
SELECT user FROM users WHERE lastname IN ('jones', 'anderson')
linq linq-to-sql
Jedidja
source share