select * from table where id in (1,2,3)这个语句如何用LINQ表达?
var str = from p in dc.BoilerOffice select p;
请帮忙补充一下,谢谢!
int[] id = new int[]{1,2,3};
var str = from p in dc.BoilerOffice where id.Contains(p.ID) select p;