-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Modify query expression #4048
Comments
@mfernandezruiz do you want to modify the raw SQL or the query tree? |
The query tree |
I am implementing a soft delete feature, and need to modify the query tree Merry xmas ! 2015-12-23 22:51 GMT+01:00 Rowan Miller notifications@github.com:
|
@anpete to provide some pointers |
Hello all ! I am pretty interested on the subject. As a gent reminder, do we have any news around this topic ? VBRegards. |
@mfernandezruiz @santiag0sc The easiest place right now to intercept the LINQ expression tree is probably IQueryCompiler. The general approach would be to register a custom impl. of IQueryCompiler (likely a subclass or decorator of our concrete QueryCompiler class), and perform the interception around the various Execute methods. |
Here are the docs for custom service registration: https://docs.efproject.net/en/latest/miscellaneous/internals/services.html |
Hi,
how to modify the expression before executing ?
Regards.
The text was updated successfully, but these errors were encountered: