I have a List and each Filter object has a property called "Id". I want to fetch all the records from my database using Linq to SQL that contains those ids. The List is not part of the database it is just an independent list.
A:
not very clear question. however this is what, i suppose, u r trying to do
from c in datacontext.TableName where
IndependentList.Contains(c=>c.id)
select c
Muhammad Adeel Zahid
2010-10-08 14:39:02