RelationalLoggerExtensions.TransactionCommitted Methode

Definition

Protokolle für das TransactionCommitted Ereignis.

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)

Parameter

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>

Die zu verwendende Diagnose-Protokollierung.

connection
IRelationalConnection

Die Verbindung.

transaction
DbTransaction

Die Transaktion.

transactionId
Guid

Die Korrelations-ID, die dem zugeordnet ist DbTransaction.

startTime
DateTimeOffset

Die Uhrzeit, zu der der Vorgang gestartet wurde.

duration
TimeSpan

Die verstrichene Zeit ab dem Start des Vorgangs.

Gilt für: