标签: linq entity-framework-core ef-core-2.0
LINQ与此相当:
SELECT * FROM [MyItems] WHERE [MyItems].[TheStatus] IN (3,5,14,23)
我试过这样的事情:
DbContext.MyItems.Where(mi => statuses.Contains(mi.TheStatus));