DbTransactionDispatcher 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 DbTransaction such that any IDbTransactionInterceptor 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 DbTransactionDispatcher
type DbTransactionDispatcher = class
Public Class DbTransactionDispatcher
- Inheritance
-
DbTransactionDispatcher
Remarks
This class is used internally by Entity Framework when interacting with DbTransaction. 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