Compartir a través de


RelationalLoggerExtensions.RollingBackToTransactionSavepoint Método

Definición

Registros del RollingBackToTransactionSavepoint evento.

public static Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult RollingBackToTransactionSavepoint (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 RollingBackToTransactionSavepoint : 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 RollingBackToTransactionSavepoint (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Database.Transaction), connection As IRelationalConnection, transaction As DbTransaction, transactionId As Guid, startTime As DateTimeOffset) As InterceptionResult

Parámetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>

Registrador de diagnóstico que se va a usar.

connection
IRelationalConnection

La conexión.

transaction
DbTransaction

Transacción.

transactionId
Guid

Identificador de correlación asociado a DbTransaction.

startTime
DateTimeOffset

Hora a la que se inició la operación.

Devoluciones

Resultado de la ejecución, que puede haber sido modificado por un interceptor.

Se aplica a