Compartir a través de


RelationalTransaction Constructores

Definición

Sobrecargas

RelationalTransaction(IRelationalConnection, DbTransaction, IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>, Boolean)

Inicializa una nueva instancia de la clase RelationalTransaction.

RelationalTransaction(IRelationalConnection, DbTransaction, ILogger, Boolean)

Inicializa una nueva instancia de la clase RelationalTransaction.

RelationalTransaction(IRelationalConnection, DbTransaction, Guid, IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>, Boolean)

Inicializa una nueva instancia de la clase RelationalTransaction.

RelationalTransaction(IRelationalConnection, DbTransaction, Guid, IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>, Boolean, ISqlGenerationHelper)

Inicializa una nueva instancia de la clase RelationalTransaction.

RelationalTransaction(IRelationalConnection, DbTransaction, IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>, Boolean)

Source:
RelationalTransaction.cs
Source:
RelationalTransaction.cs

Inicializa una nueva instancia de la clase RelationalTransaction.

public RelationalTransaction (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> logger, bool transactionOwned);
new Microsoft.EntityFrameworkCore.Storage.RelationalTransaction : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> * bool -> Microsoft.EntityFrameworkCore.Storage.RelationalTransaction
Public Sub New (connection As IRelationalConnection, transaction As DbTransaction, logger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Transaction), transactionOwned As Boolean)

Parámetros

connection
IRelationalConnection

Conexión a la base de datos.

transaction
DbTransaction

Objeto DbTransaction subyacente.

logger
IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>

Registrador en el que se va a escribir.

transactionOwned
Boolean

Valor que indica si la transacción es propiedad de esta clase (es decir, si se puede eliminar cuando se elimina esta clase).

Se aplica a

RelationalTransaction(IRelationalConnection, DbTransaction, ILogger, Boolean)

Inicializa una nueva instancia de la clase RelationalTransaction.

public RelationalTransaction (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbTransaction transaction, Microsoft.Extensions.Logging.ILogger logger, bool transactionOwned);
new Microsoft.EntityFrameworkCore.Storage.RelationalTransaction : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbTransaction * Microsoft.Extensions.Logging.ILogger * bool -> Microsoft.EntityFrameworkCore.Storage.RelationalTransaction
Public Sub New (connection As IRelationalConnection, transaction As DbTransaction, logger As ILogger, transactionOwned As Boolean)

Parámetros

connection
IRelationalConnection

Conexión a la base de datos.

transaction
DbTransaction

Objeto DbTransaction subyacente.

logger
ILogger

Registrador en el que se va a escribir.

transactionOwned
Boolean

Valor que indica si la transacción es propiedad de esta clase (es decir, si se puede eliminar cuando se elimina esta clase).

Se aplica a

RelationalTransaction(IRelationalConnection, DbTransaction, Guid, IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>, Boolean)

Source:
RelationalTransaction.cs
Source:
RelationalTransaction.cs
Source:
RelationalTransaction.cs

Inicializa una nueva instancia de la clase RelationalTransaction.

public RelationalTransaction (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbTransaction transaction, Guid transactionId, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> logger, bool transactionOwned);
new Microsoft.EntityFrameworkCore.Storage.RelationalTransaction : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbTransaction * Guid * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> * bool -> Microsoft.EntityFrameworkCore.Storage.RelationalTransaction
Public Sub New (connection As IRelationalConnection, transaction As DbTransaction, transactionId As Guid, logger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Transaction), transactionOwned As Boolean)

Parámetros

connection
IRelationalConnection

Conexión a la base de datos.

transaction
DbTransaction

Objeto DbTransaction subyacente.

transactionId
Guid

Identificador de correlación de la transacción.

logger
IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>

Registrador en el que se va a escribir.

transactionOwned
Boolean

Valor que indica si la transacción es propiedad de esta clase (es decir, si se puede eliminar cuando se elimina esta clase).

Se aplica a

RelationalTransaction(IRelationalConnection, DbTransaction, Guid, IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>, Boolean, ISqlGenerationHelper)

Source:
RelationalTransaction.cs
Source:
RelationalTransaction.cs
Source:
RelationalTransaction.cs
Source:
RelationalTransaction.cs

Inicializa una nueva instancia de la clase RelationalTransaction.

public RelationalTransaction (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbTransaction transaction, Guid transactionId, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> logger, bool transactionOwned, Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper);
new Microsoft.EntityFrameworkCore.Storage.RelationalTransaction : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbTransaction * Guid * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> * bool * Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper -> Microsoft.EntityFrameworkCore.Storage.RelationalTransaction
Public Sub New (connection As IRelationalConnection, transaction As DbTransaction, transactionId As Guid, logger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Transaction), transactionOwned As Boolean, sqlGenerationHelper As ISqlGenerationHelper)

Parámetros

connection
IRelationalConnection

Conexión a la base de datos.

transaction
DbTransaction

Objeto DbTransaction subyacente.

transactionId
Guid

Identificador de correlación de la transacción.

logger
IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>

Registrador en el que se va a escribir.

transactionOwned
Boolean

Valor que indica si la transacción es propiedad de esta clase (es decir, si se puede eliminar cuando se elimina esta clase).

sqlGenerationHelper
ISqlGenerationHelper

Asistente de generación de SQL que se va a usar.

Se aplica a