IDbTransactionInterceptor.TransactionCommitted 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在 EF 调用 后立即调用 Commit()。
public void TransactionCommitted (System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.Diagnostics.TransactionEndEventData eventData);
public virtual void TransactionCommitted (System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.Diagnostics.TransactionEndEventData eventData);
abstract member TransactionCommitted : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionEndEventData -> unit
abstract member TransactionCommitted : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionEndEventData -> unit
override this.TransactionCommitted : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionEndEventData -> unit
Public Sub TransactionCommitted (transaction As DbTransaction, eventData As TransactionEndEventData)
Public Overridable Sub TransactionCommitted (transaction As DbTransaction, eventData As TransactionEndEventData)
参数
- transaction
- DbTransaction
事务。
- eventData
- TransactionEndEventData
有关连接和事务的上下文信息。