MigrationCommand Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
MigrationCommand(IRelationalCommand, Boolean) |
Crea una nuova istanza del comando. |
MigrationCommand(IRelationalCommand, DbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>, Boolean) |
Crea una nuova istanza del comando. |
MigrationCommand(IRelationalCommand, DbContext, IRelationalCommandDiagnosticsLogger, Boolean) |
Crea una nuova istanza del comando. |
MigrationCommand(IRelationalCommand, Boolean)
- Origine:
- MigrationCommand.cs
- Origine:
- MigrationCommand.cs
Crea una nuova istanza del comando.
public MigrationCommand (Microsoft.EntityFrameworkCore.Storage.IRelationalCommand relationalCommand, bool transactionSuppressed = false);
new Microsoft.EntityFrameworkCore.Migrations.MigrationCommand : Microsoft.EntityFrameworkCore.Storage.IRelationalCommand * bool -> Microsoft.EntityFrameworkCore.Migrations.MigrationCommand
Public Sub New (relationalCommand As IRelationalCommand, Optional transactionSuppressed As Boolean = false)
Parametri
- relationalCommand
- IRelationalCommand
Sottostante IRelationalCommand che verrà usato per eseguire il comando.
- transactionSuppressed
- Boolean
Indica se le transazioni devono essere eliminate durante l'esecuzione del comando.
Si applica a
MigrationCommand(IRelationalCommand, DbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>, Boolean)
- Origine:
- MigrationCommand.cs
- Origine:
- MigrationCommand.cs
- Origine:
- MigrationCommand.cs
Crea una nuova istanza del comando.
public MigrationCommand (Microsoft.EntityFrameworkCore.Storage.IRelationalCommand relationalCommand, Microsoft.EntityFrameworkCore.DbContext context, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> logger, bool transactionSuppressed = false);
new Microsoft.EntityFrameworkCore.Migrations.MigrationCommand : Microsoft.EntityFrameworkCore.Storage.IRelationalCommand * Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> * bool -> Microsoft.EntityFrameworkCore.Migrations.MigrationCommand
Public Sub New (relationalCommand As IRelationalCommand, context As DbContext, logger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Command), Optional transactionSuppressed As Boolean = false)
Parametri
- relationalCommand
- IRelationalCommand
Sottostante IRelationalCommand che verrà usato per eseguire il comando.
Comando logger.
- transactionSuppressed
- Boolean
Indica se le transazioni devono essere eliminate durante l'esecuzione del comando.
Si applica a
MigrationCommand(IRelationalCommand, DbContext, IRelationalCommandDiagnosticsLogger, Boolean)
- Origine:
- MigrationCommand.cs
- Origine:
- MigrationCommand.cs
- Origine:
- MigrationCommand.cs
- Origine:
- MigrationCommand.cs
Crea una nuova istanza del comando.
public MigrationCommand (Microsoft.EntityFrameworkCore.Storage.IRelationalCommand relationalCommand, Microsoft.EntityFrameworkCore.DbContext? context, Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger logger, bool transactionSuppressed = false);
new Microsoft.EntityFrameworkCore.Migrations.MigrationCommand : Microsoft.EntityFrameworkCore.Storage.IRelationalCommand * Microsoft.EntityFrameworkCore.DbContext * Microsoft.EntityFrameworkCore.Diagnostics.IRelationalCommandDiagnosticsLogger * bool -> Microsoft.EntityFrameworkCore.Migrations.MigrationCommand
Public Sub New (relationalCommand As IRelationalCommand, context As DbContext, logger As IRelationalCommandDiagnosticsLogger, Optional transactionSuppressed As Boolean = false)
Parametri
- relationalCommand
- IRelationalCommand
Sottostante IRelationalCommand che verrà usato per eseguire il comando.
Comando logger.
- transactionSuppressed
- Boolean
Indica se le transazioni devono essere eliminate durante l'esecuzione del comando.