Entity Framework Pitfalls: Command Interceptors and Identity Keys

added by Ricardo Peres
1/29/2015 2:23:20 PM

1 Kicks, 187 Views

The IDbCommandInterceptor (sorry, no official documentation) interface was introduced in Entity Framework 6 as part of the new interception and logging API, and allows the interception of the SQL and its parameters that are sent to the database as the result of DbContext CRUD operations.