다음을 통해 공유


DbTransactionInterceptor.TransactionRolledBack 메서드

정의

EF가 를 호출한 직후 호출 Rollback()합니다.

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)

매개 변수

transaction
DbTransaction

트랜잭션입니다.

eventData
TransactionEndEventData

연결 및 트랜잭션에 대한 컨텍스트 정보입니다.

구현

적용 대상