Class EFCommandInterceptor
Inheritance
Assembly: Alachisoft.Integrations.EntityFramework.CachingProvider.dll
Syntax
public class EFCommandInterceptor : IDbCommandInterceptor
Constructors
Name | Description |
---|---|
EFCommandInterceptor() | Constructor to Initialize the logger and Application Instance. |
Methods
Name | Description |
---|---|
Finalize() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
NonQueryExecuted(DbCommand, DbCommandInterceptionContext<Int32>) | This method is called after a call to ExecuteNonQuery() or one of its async counterparts is made. |
NonQueryExecuting(DbCommand, DbCommandInterceptionContext<Int32>) | This method is called before a call to ExecuteNonQuery() or one of its async counterparts is made. |
ReaderExecuted(DbCommand, DbCommandInterceptionContext<DbDataReader>) | This method is called after a call to ExecuteReader(CommandBehavior) or one of its async counterparts is made. |
ReaderExecuting(DbCommand, DbCommandInterceptionContext<DbDataReader>) | This method is called before a call to ExecuteReader(CommandBehavior) or one of its async counterparts is made. |
ScalarExecuted(DbCommand, DbCommandInterceptionContext<Object>) | This method is called after a call to ExecuteScalar() or one of its async counterparts is made. |
ScalarExecuting(DbCommand, DbCommandInterceptionContext<Object>) | This method is called before a call to ExecuteScalar() or one of its async counterparts is made. |