tags:

views:

10

answers:

2

i want to implement the "in" in sql in linq to sql .how can i do that ?

+1  A: 

Check out Creating IN Queries With Linq To Sql

cxfx
A: 

something like this?...

namespace xxx.xxx.xxxx { public class xxxx { private Entities db = new Entities();

    // List All Products

    public IQueryable<Product> GetAllProducts()
    {
        return from product in db.Products
               select product;
    }
sebastian_h