开发者

LINQ to SQL WHERE "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"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜