Sdílet prostřednictvím


DbTransactionInterceptor.TransactionRolledBack Metoda

Definice

Volá se okamžitě po volání Rollback()EF .

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

Parametry

transaction
DbTransaction

Transakce.

eventData
TransactionEndEventData

Kontextové informace o připojení a transakci.

Implementuje

Platí pro