共用方式為


DbTransactionInterceptor.TransactionCommitted 方法

定義

在 EF 呼叫 之後立即呼叫 Commit()

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
override this.TransactionCommitted : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionEndEventData -> unit
Public Overridable Sub TransactionCommitted (transaction As DbTransaction, eventData As TransactionEndEventData)

參數

transaction
DbTransaction

異動。

eventData
TransactionEndEventData

連線和交易的相關內容資訊。

實作

適用於