次の方法で共有


IDbTransactionInterceptor.TransactionCommitted メソッド

定義

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

接続とトランザクションに関するコンテキスト情報。

適用対象