-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some values in queries are not going through value converter #11347
Labels
Comments
This is a known issue with converters which is due to:
We plan to add a warning in 2.1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the setup below the query
db.Set<FooBar>().Where(x => x.FooBarBaz.Contains("test")).Load()
is translated to:The
test
didn't went through the converter. Similarlydb.Set<FooBar>().Where(x => x.FooBarBaz.StartsWith("test")).Load()
anddb.Set<FooBar>().Where(x => x.FooBarBaz.EndsWith("test")).Load()
respectively result in following SQL where theLEN
is not not transformed:Setup
Further technical details
EF Core version: 2.1.0-preview1-final
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
The text was updated successfully, but these errors were encountered: