SQL Query
SELECT *
FROM tblOrders
WHERE CustomerId in (3455,4423,7655,1000)
LINQ Query ?
Say, I have an Array of IDs, then how do I search?
int[4] _ids;
_ids[0]=3455
_ids[1]=4423
_ids[2]=7655
_ids[3]=1000
var _orders = (from o in tblOrders
where (o.CustomerId in _ids[])
select o);
Above code is just for the example sake, I know it's wrong. But, is this possible?