int[] ids = { 1, 2, 3, 4, 5}; var query = from item in db.myTable where ids.Contains(item.ID) select item;