다음을 통해 공유


RelationalLoggerExtensions.TransactionCommitted 메서드

정의

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

public static void TransactionCommitted (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, TimeSpan duration);
static member TransactionCommitted : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbTransaction * Guid * DateTimeOffset * TimeSpan -> unit
<Extension()>
Public Sub TransactionCommitted (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Database.Transaction), connection As IRelationalConnection, transaction As DbTransaction, transactionId As Guid, startTime As DateTimeOffset, duration As TimeSpan)

매개 변수

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>

사용할 진단 로거입니다.

connection
IRelationalConnection

연결입니다.

transaction
DbTransaction

트랜잭션입니다.

transactionId
Guid

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

startTime
DateTimeOffset

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

duration
TimeSpan

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

적용 대상