-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Note: #28505 to allow interception of the LINQ expression tree has been split off from this and implemented in EF7.
Use cases
- Generating DB commands for operations not currently supported by EF (e.g. ExecuteUpdate/Delete (AKA bulk update, without loading data into memory) #795)
- Extending with provider-specific LINQ operators (like how linq2db allows a wide variety of SQL constructs)
- More flexible and robust query filters
- Query validation and transformation
The current query generation pipeline is hard to extend without relying on implementation details.
Proposal
Enable intercepting the translation steps in QueryCompilationContext.CreateQueryExecutor
.
API details are to be discussed here, I don't have a concrete proposal yet.
powermetal63, decleezy, aradalvand, cocowalla, shoooe and 24 more