Sdílet prostřednictvím


RelationalLoggerExtensions.RolledBackToTransactionSavepoint Metoda

Definice

Protokoluje událost RolledBackToTransactionSavepoint .

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

Parametry

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>

Diagnostický protokolovací nástroj, který se má použít.

connection
IRelationalConnection

Připojení.

transaction
DbTransaction

Transakce.

transactionId
Guid

ID korelace přidružené k DbTransaction.

startTime
DateTimeOffset

Čas, kdy byla operace spuštěna.

Platí pro