Aracılığıyla paylaş


RelationalLoggerExtensions.TransactionDisposed Yöntem

Tanım

Olay için TransactionDisposed günlükler.

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

Parametreler

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>

Kullanılacak tanılama günlükçü.

connection
IRelationalConnection

Bağlantı.

transaction
DbTransaction

İşlem.

transactionId
Guid

ile ilişkili bağıntı DbTransactionkimliği.

startTime
DateTimeOffset

İşlemin başlatıldığı saat.

Şunlara uygulanır