need a simple linq -
i have table called products. want products have productid 2 or 6 or 9 sql : select * products productid=2 or productid=6 or productid=9
. how can sql linq? productids in array
from p in products new int [] { 2,6,9 }.contains(p.productid) select p;
Comments
Post a Comment