Поделиться через


IDbTransactionInterceptor.TransactionCommitted Метод

Определение

Вызывается сразу после вызова Commit()EF .

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

Контекстные сведения о подключении и транзакции.

Применяется к