Operator Contains
is translated in EF Core 1.x, but throws exception in 2.0.
#10868
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
Operator
Contains
is translated in EF Core 1.x, but throws exception in 2.0.Recently I upgraded EF Core 1.x to 2.0 and got this problem. Take the AdventureWorks database's Product table as an example:
In 1.x the above query is translated to:
In 2.0 the above query throws
ArgumentException
:Further technical details
EF Core version: 2.0
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10
IDE: (e.g. Visual Studio 2017 15.5.5)
The text was updated successfully, but these errors were encountered: