Method ConnectionGetting
ConnectionGetting(DbTransaction, DbTransactionInterceptionContext<DbConnection>)
This method is called when the Connection is being obtained.
Declaration
public void ConnectionGetting(DbTransaction transaction, DbTransactionInterceptionContext<DbConnection> interceptionContext)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Data.Common.DbTransaction | transaction | The transaction. |
| DbTransactionInterceptionContext<System.Data.Common.DbConnection> | interceptionContext | Contextual information associated with the call. |