var strVal= new int[] {3, 4, 5 }; var resultset = from x in dbContext.ProductPrice where strVal.Contains(x.discountOfferID ) select new{x.discountOfferID}
string strdiscountOfferID ="1,2,3"; from a in ProductPrice where strdiscountOfferID.Contains(a.discountOfferID) select a.discountOfferID;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)