DbConnectionDispatcher Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used for dispatching operations to a DbConnection such that any IDbConnectionInterceptor registered on DbInterception will be notified before and after the operation executes. Instances of this class are obtained through the the Dispatch fluent API.
public class DbConnectionDispatcher
type DbConnectionDispatcher = class
Public Class DbConnectionDispatcher
- Inheritance
-
DbConnectionDispatcher
Remarks
This class is used internally by Entity Framework when interacting with DbConnection. It is provided publicly so that code that runs outside of the core EF assemblies can opt-in to command interception/tracing. This is typically done by EF providers that are executing commands on behalf of EF.
Methods
Applies to
Entity Framework