다음을 통해 공유


RelationalLoggerExtensions.TransactionCommitting 메서드

정의

이벤트에 대한 로그입니다 TransactionCommitting .

public static Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult TransactionCommitting (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> diagnostics, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbTransaction transaction, Guid transactionId, DateTimeOffset startTime);
static member TransactionCommitting : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbTransaction * Guid * DateTimeOffset -> Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult
<Extension()>
Public Function TransactionCommitting (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Database.Transaction), connection As IRelationalConnection, transaction As DbTransaction, transactionId As Guid, startTime As DateTimeOffset) As InterceptionResult

매개 변수

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>

사용할 진단 로거입니다.

connection
IRelationalConnection

연결입니다.

transaction
DbTransaction

트랜잭션입니다.

transactionId
Guid

와 연결된 상관 관계 ID입니다 DbTransaction.

startTime
DateTimeOffset

작업이 시작된 시간입니다.

반환

인터셉터에 의해 수정되었을 수 있는 실행 결과입니다.

적용 대상