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


IDbTransactionInterceptor.RolledBackToSavepoint Метод

Определение

Вызывается сразу после отката EF к точке сохранения транзакции.

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)

Параметры

transaction
DbTransaction

Транзакция.

eventData
TransactionEventData

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

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