-
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
Add EF.Functions and SQL Like #7611
Conversation
Have just amended this PR. Aside from rebasing for VS2017 support, this PR now adds SQL LIKE support via Note that the SqlTranslatingExpressionVisitor had to be tweaked for it to allow translating method calls on the |
@roji Would you mind rebasing again? We renamed the world 😬 |
@anpete rebased, also renamed EFFunctions -> DbFunctions (looks slightly better). Let me know if you want any changes |
@roji I'm seeing some test failures in ApiConsistencyTest, can you take a look? BTW, sorry for the delay 😄 |
To allow relational and providers to start defining extension methods on it. Modify SqlTranslatingExpressionVisitor to recognize the EFFunctions class and translate methods on it. Relates to dotnet#2850
Both with and without an escape character. Relates to dotnet#2850
Fixed and rebased. |
To allow relational and providers to start defining extension methods on it, for #2850.
Hope this is more or less what you guys were thinking of, let me know of any nitpicks in terms of class/file naming etc.
Note that no actual methods (e.g. Like) are defined, that can come later in a separate PR.