System.Data.Entity.Infrastructure.Interception Namespace
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.
Classes
BeginTransactionInterceptionContext |
Represents contextual information associated with calls to BeginTransaction(IsolationLevel) implementations. |
DatabaseLogFormatter |
This is the default log formatter used when some Action<T> is set onto the Log property. A different formatter can be used by creating a class that inherits from this class and overrides some or all methods to change behavior. |
DatabaseLogger |
A simple logger for logging SQL and other database operations to the console or a file. A logger can be registered in code or in the application's web.config /app.config file. |
DbCommandDispatcher |
Used for dispatching operations to a DbCommand such that any IDbCommandInterceptor registered on DbInterception will be notified before and after the operation executes. Instances of this class are obtained through the the Dispatch fluent API. |
DbCommandInterceptionContext |
Represents contextual information associated with calls into IDbCommandInterceptor implementations. |
DbCommandInterceptionContext<TResult> |
Represents contextual information associated with calls into IDbCommandInterceptor implementations including the result of the operation. |
DbCommandInterceptor |
Base class that implements IDbCommandInterceptor. This class is a convenience for use when only one or two methods of the interface actually need to have any implementation. |
DbCommandTreeInterceptionContext |
Represents contextual information associated with calls into IDbCommandTreeInterceptor implementations. |
DbConfigurationInterceptionContext |
Represents contextual information associated with calls into IDbConfigurationInterceptor implementations. |
DbConnectionDispatcher |
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. |
DbConnectionInterceptionContext |
Represents contextual information associated with calls to DbConnection that don't return any results. |
DbConnectionInterceptionContext<TResult> |
Represents contextual information associated with calls to DbConnection with return type |
DbConnectionPropertyInterceptionContext<TValue> |
Represents contextual information associated with calls to property setters of type |
DbDispatchers |
Provides access to all dispatchers through the the Dispatch fluent API. |
DbInterception |
This is the registration point for IDbInterceptor interceptors. Interceptors receive notifications when EF performs certain operations such as executing commands against the database. For example, see IDbCommandInterceptor. |
DbInterceptionContext |
Represents contextual information associated with calls into IDbInterceptor implementations. |
DbTransactionDispatcher |
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. |
DbTransactionInterceptionContext |
Represents contextual information associated with calls to DbTransaction that don't return any results. |
DbTransactionInterceptionContext<TResult> |
Represents contextual information associated with calls to DbTransaction with return type |
EnlistTransactionInterceptionContext |
Represents contextual information associated with calls to EnlistTransaction(Transaction) implementations. |
MutableInterceptionContext |
Represents contextual information associated with calls that don't return any results. |
MutableInterceptionContext<TResult> |
Represents contextual information associated with calls with return type |
PropertyInterceptionContext<TValue> |
Represents contextual information associated with calls to property setters of type |
Interfaces
IDbCommandInterceptor |
An object that implements this interface can be registered with DbInterception to receive notifications when Entity Framework executes commands. |
IDbCommandTreeInterceptor |
An object that implements this interface can be registered with DbInterception to receive notifications when Entity Framework creates DbCommandTree command trees. |
IDbConfigurationInterceptor |
An object that implements this interface can be registered with DbInterception to receive notifications when Entity Framework loads the application's DbConfiguration. |
IDbConnectionInterceptor |
An object that implements this interface can be registered with DbInterception to receive notifications when Entity Framework performs operations on a DbTransaction. |
IDbInterceptor |
This is the base interface for all interfaces that provide interception points for various different types and operations. For example, see IDbCommandInterceptor. Interceptors are registered on the DbInterception class. |
IDbTransactionInterceptor |
An object that implements this interface can be registered with DbInterception to receive notifications when Entity Framework commits or rollbacks a transaction. |
Entity Framework