How ia can write query with IN. I want write query
Products.Where(x=>x.Cat开发者_StackOverflow社区egoryId = {4,5,6....})
Products.Where(x => arrayOfIDs.Contains(x.CategoryId));
LINQ to SQL query using "NOT IN"
How ia can write query with IN. I want write query
Products.Where(x=>x.Cat开发者_StackOverflow社区egoryId = {4,5,6....})
Products.Where(x => arrayOfIDs.Contains(x.CategoryId));
LINQ to SQL query using "NOT IN"
精彩评论