Quantcast
Viewing all articles
Browse latest Browse all 2

Answer by kakebake for C# Grabbing subset of table based off a Hashset if Ints

Seems like you are missing a ")" after Contains(...).The following should work :)

orders = await _context.Order.Where(x => ids2.Contains(x.ORDERMAPID)).ToListAsync();

Viewing all articles
Browse latest Browse all 2

Trending Articles