Jazyk

OperationExecutor.ScriptMigration Konstruktory

Definice

Přetížení

Název Description
OperationExecutor.ScriptMigration(OperationExecutor, IOperationResultHandler, IDictionary)

Inicializuje novou instanci OperationExecutor.ScriptMigration třídy.

OperationExecutor.ScriptMigration(OperationExecutor, Object, IDictionary)

Inicializuje novou instanci OperationExecutor.ScriptMigration třídy.

Argumenty podporované args následujícími argumenty:

fromMigration- Počáteční migrace. Výchozí hodnota je InitialDatabase.

toMigration- Koncová migrace. Výchozí hodnota je poslední migrace.

idempotent--Vygenerujte skript, který lze použít v databázi při jakékoli migraci.

contextType--To DbContext se má použít.

OperationExecutor.ScriptMigration(OperationExecutor, IOperationResultHandler, IDictionary)

Zdroj:
OperationExecutor.cs
Zdroj:
OperationExecutor.cs
Zdroj:
OperationExecutor.cs
Zdroj:
OperationExecutor.cs
Zdroj:
OperationExecutor.cs
Zdroj:
OperationExecutor.cs
Zdroj:
OperationExecutor.cs
Zdroj:
OperationExecutor.cs
Zdroj:
OperationExecutor.cs

Inicializuje novou instanci OperationExecutor.ScriptMigration třídy.

public ScriptMigration(Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, Microsoft.EntityFrameworkCore.Design.IOperationResultHandler resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScriptMigration : Microsoft.EntityFrameworkCore.Design.OperationExecutor * Microsoft.EntityFrameworkCore.Design.IOperationResultHandler * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScriptMigration
Public Sub New (executor As OperationExecutor, resultHandler As IOperationResultHandler, args As IDictionary)

Parametry

executor
OperationExecutor

Exekutor operace.

args
IDictionary

Argumenty operace.

Poznámky

Argumenty podporované args následujícími argumenty:

fromMigration- Počáteční migrace. Výchozí hodnota je InitialDatabase.

toMigration- Koncová migrace. Výchozí hodnota je poslední migrace.

idempotent--Vygenerujte skript, který lze použít v databázi při jakékoli migraci.

noTransactions--Negenerujte příkazy transakcí SQL.

contextType--To DbContext se má použít.

Platí pro

OperationExecutor.ScriptMigration(OperationExecutor, Object, IDictionary)

Zdroj:
OperationExecutor.cs
Zdroj:
OperationExecutor.cs

Inicializuje novou instanci OperationExecutor.ScriptMigration třídy.

Argumenty podporované args následujícími argumenty:

fromMigration- Počáteční migrace. Výchozí hodnota je InitialDatabase.

toMigration- Koncová migrace. Výchozí hodnota je poslední migrace.

idempotent--Vygenerujte skript, který lze použít v databázi při jakékoli migraci.

contextType--To DbContext se má použít.

public ScriptMigration(Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, object resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScriptMigration : Microsoft.EntityFrameworkCore.Design.OperationExecutor * obj * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.ScriptMigration
Public Sub New (executor As OperationExecutor, resultHandler As Object, args As IDictionary)

Parametry

executor
OperationExecutor

Exekutor operace.

args
IDictionary

Argumenty operace.

Platí pro