Sprache

MigrationCommand Konstruktoren

Definition

Überlädt

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.

context
DbContext

Der aktuelle DbContext oder NULL-Wert, wenn er nicht bekannt ist.

logger
IDiagnosticsLogger<DbLoggerCategory.Database.Command>

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.

context
DbContext

Der aktuelle DbContext oder null wenn nicht bekannt.

logger
IRelationalCommandDiagnosticsLogger

Der Befehlsprotokollierer.

transactionSuppressed
Boolean

Gibt an, ob Transaktionen beim Ausführen des Befehls unterdrückt werden sollen.

Gilt für: