Condividi tramite


RelationalTransaction Costruttori

Definizione

Overload

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

Inizializza una nuova istanza della classe RelationalTransaction.

RelationalTransaction(IRelationalConnection, DbTransaction, ILogger, Boolean)

Inizializza una nuova istanza della classe RelationalTransaction.

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

Inizializza una nuova istanza della classe RelationalTransaction.

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

Inizializza una nuova istanza della classe RelationalTransaction.

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

Origine:
RelationalTransaction.cs
Origine:
RelationalTransaction.cs

Inizializza una nuova istanza della classe 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)

Parametri

connection
IRelationalConnection

Connessione al database.

transaction
DbTransaction

Oggetto DbTransaction sottostante.

transactionOwned
Boolean

Valore che indica se la transazione è di proprietà di questa classe, ad esempio se può essere eliminata quando questa classe viene eliminata.

Si applica a

RelationalTransaction(IRelationalConnection, DbTransaction, ILogger, Boolean)

Inizializza una nuova istanza della classe 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)

Parametri

connection
IRelationalConnection

Connessione al database.

transaction
DbTransaction

Oggetto DbTransaction sottostante.

logger
ILogger

Logger da scrivere.

transactionOwned
Boolean

Valore che indica se la transazione è di proprietà di questa classe, ad esempio se può essere eliminata quando questa classe viene eliminata.

Si applica a

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

Origine:
RelationalTransaction.cs
Origine:
RelationalTransaction.cs
Origine:
RelationalTransaction.cs

Inizializza una nuova istanza della classe 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)

Parametri

connection
IRelationalConnection

Connessione al database.

transaction
DbTransaction

Oggetto DbTransaction sottostante.

transactionId
Guid

ID di correlazione per la transazione.

transactionOwned
Boolean

Valore che indica se la transazione è di proprietà di questa classe, ad esempio se può essere eliminata quando questa classe viene eliminata.

Si applica a

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

Origine:
RelationalTransaction.cs
Origine:
RelationalTransaction.cs
Origine:
RelationalTransaction.cs
Origine:
RelationalTransaction.cs

Inizializza una nuova istanza della classe 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)

Parametri

connection
IRelationalConnection

Connessione al database.

transaction
DbTransaction

Oggetto DbTransaction sottostante.

transactionId
Guid

ID di correlazione per la transazione.

transactionOwned
Boolean

Valore che indica se la transazione è di proprietà di questa classe, ad esempio se può essere eliminata quando questa classe viene eliminata.

sqlGenerationHelper
ISqlGenerationHelper

Helper di generazione SQL da usare.

Si applica a