MigrationCommand Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| MigrationCommand(IRelationalCommand, Boolean) |
Erstellt eine neue Instanz des Befehls. |
| MigrationCommand(IRelationalCommand, DbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>, Boolean) |
Erstellt eine neue Instanz des Befehls. |
| MigrationCommand(IRelationalCommand, DbContext, IRelationalCommandDiagnosticsLogger, Boolean) |
Erstellt eine neue Instanz des Befehls. |
MigrationCommand(IRelationalCommand, Boolean)
- Quelle:
- MigrationCommand.cs
- Quelle:
- MigrationCommand.cs
Erstellt eine neue Instanz des Befehls.
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)
Parameter
- relationalCommand
- IRelationalCommand
Der zugrunde liegende IRelationalCommand Befehl, der zum Ausführen des Befehls verwendet wird.
- transactionSuppressed
- Boolean
Gibt an, ob Transaktionen beim Ausführen des Befehls unterdrückt werden sollen.
Gilt für:
MigrationCommand(IRelationalCommand, DbContext, IDiagnosticsLogger<DbLoggerCategory.Database.Command>, Boolean)
- Quelle:
- MigrationCommand.cs
- Quelle:
- MigrationCommand.cs
- Quelle:
- MigrationCommand.cs
Erstellt eine neue Instanz des Befehls.
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)
Parameter
- relationalCommand
- IRelationalCommand
Der zugrunde liegende IRelationalCommand Befehl, der zum Ausführen des Befehls verwendet wird.
Der Befehlsprotokollierer.
- transactionSuppressed
- Boolean
Gibt an, ob Transaktionen beim Ausführen des Befehls unterdrückt werden sollen.
Gilt für:
MigrationCommand(IRelationalCommand, DbContext, IRelationalCommandDiagnosticsLogger, Boolean)
- Quelle:
- MigrationCommand.cs
- Quelle:
- MigrationCommand.cs
- Quelle:
- MigrationCommand.cs
- Quelle:
- MigrationCommand.cs
- Quelle:
- MigrationCommand.cs
- Quelle:
- MigrationCommand.cs
Erstellt eine neue Instanz des Befehls.
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)
Parameter
- relationalCommand
- IRelationalCommand
Der zugrunde liegende IRelationalCommand Befehl, der zum Ausführen des Befehls verwendet wird.
Der Befehlsprotokollierer.
- transactionSuppressed
- Boolean
Gibt an, ob Transaktionen beim Ausführen des Befehls unterdrückt werden sollen.