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


IDbTransactionInterceptor.TransactionRolledBack Метод

Определение

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

public void TransactionRolledBack (System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.Diagnostics.TransactionEndEventData eventData);
public virtual void TransactionRolledBack (System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.Diagnostics.TransactionEndEventData eventData);
abstract member TransactionRolledBack : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionEndEventData -> unit
abstract member TransactionRolledBack : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionEndEventData -> unit
override this.TransactionRolledBack : System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.TransactionEndEventData -> unit
Public Sub TransactionRolledBack (transaction As DbTransaction, eventData As TransactionEndEventData)
Public Overridable Sub TransactionRolledBack (transaction As DbTransaction, eventData As TransactionEndEventData)

Параметры

transaction
DbTransaction

Транзакция.

eventData
TransactionEndEventData

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

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