You have to use the Contains method on your id list:
var query = from t in db.Table
where idList.Contains(t.Id)
select t;
You have to use the Contains method on your id list:
var query = from t in db.Table
where idList.Contains(t.Id)
select t;