int[] array = {20,10,11,...}; var result = from p in lqDB.Table1 where array.Contains(p.id) select p;