Udostępnij za pośrednictwem


IDbTransactionInterceptor.RolledBackToSavepoint Metoda

Definicja

Wywoływana natychmiast po wycofaniu programu EF z powrotem do punktu zapisywania transakcji.

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

Parametry

transaction
DbTransaction

Transakcja.

eventData
TransactionEventData

Kontekstowe informacje o połączeniu i transakcji.

Dotyczy