MigrationCommand Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
MigrationCommand(IRelationalCommand, Boolean) |
Crea una nueva instancia del comando . |
MigrationCommand(IRelationalCommand, DbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>, Boolean) |
Crea una nueva instancia del comando . |
MigrationCommand(IRelationalCommand, DbContext, IRelationalCommandDiagnosticsLogger, Boolean) |
Crea una nueva instancia del comando . |
MigrationCommand(IRelationalCommand, Boolean)
- Source:
- MigrationCommand.cs
- Source:
- MigrationCommand.cs
Crea una nueva instancia 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)
Parámetros
- relationalCommand
- IRelationalCommand
Subyacente IRelationalCommand que se usará para ejecutar el comando .
- transactionSuppressed
- Boolean
Indica si las transacciones deben suprimirse o no mientras se ejecuta el comando.
Se aplica a
MigrationCommand(IRelationalCommand, DbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>, Boolean)
- Source:
- MigrationCommand.cs
- Source:
- MigrationCommand.cs
- Source:
- MigrationCommand.cs
Crea una nueva instancia 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)
Parámetros
- relationalCommand
- IRelationalCommand
Subyacente IRelationalCommand que se usará para ejecutar el comando .
Registrador de comandos.
- transactionSuppressed
- Boolean
Indica si las transacciones deben suprimirse o no mientras se ejecuta el comando.
Se aplica a
MigrationCommand(IRelationalCommand, DbContext, IRelationalCommandDiagnosticsLogger, Boolean)
- Source:
- MigrationCommand.cs
- Source:
- MigrationCommand.cs
- Source:
- MigrationCommand.cs
- Source:
- MigrationCommand.cs
Crea una nueva instancia 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)
Parámetros
- relationalCommand
- IRelationalCommand
Subyacente IRelationalCommand que se usará para ejecutar el comando .
Registrador de comandos.
- transactionSuppressed
- Boolean
Indica si las transacciones deben suprimirse o no mientras se ejecuta el comando.