Jazyk

OperationExecutor.RemoveMigration Konstruktory

Definice

Přetížení

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

Inicializuje novou instanci OperationExecutor.RemoveMigration třídy.

OperationExecutor.RemoveMigration(OperationExecutor, Object, IDictionary)

Inicializuje novou instanci OperationExecutor.RemoveMigration třídy.

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

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

force– Nezkontrolujte, jestli se migrace použila na databázi.

OperationExecutor.RemoveMigration(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.RemoveMigration třídy.

public RemoveMigration(Microsoft.EntityFrameworkCore.Design.OperationExecutor executor, Microsoft.EntityFrameworkCore.Design.IOperationResultHandler resultHandler, System.Collections.IDictionary args);
new Microsoft.EntityFrameworkCore.Design.OperationExecutor.RemoveMigration : Microsoft.EntityFrameworkCore.Design.OperationExecutor * Microsoft.EntityFrameworkCore.Design.IOperationResultHandler * System.Collections.IDictionary -> Microsoft.EntityFrameworkCore.Design.OperationExecutor.RemoveMigration
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:

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

force--Vraťte migraci, pokud byla použita pro databázi.

offline--Odeberte migraci bez připojení k databázi.

connectionString--Connection string do databáze. Výchozí je ten uvedený v Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.AddDbContext nebo OnConfiguring(DbContextOptionsBuilder).

Platí pro

OperationExecutor.RemoveMigration(OperationExecutor, Object, IDictionary)

Zdroj:
OperationExecutor.cs
Zdroj:
OperationExecutor.cs

Inicializuje novou instanci OperationExecutor.RemoveMigration třídy.

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

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

force– Nezkontrolujte, jestli se migrace použila na databázi.

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

Parametry

executor
OperationExecutor

Exekutor operace.

args
IDictionary

Argumenty operace.

Platí pro