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