Sdílet prostřednictvím


OperationExecutor.GetMigrations Konstruktory

Definice

Přetížení

OperationExecutor.GetMigrations(OperationExecutor, IOperationResultHandler, IDictionary)

Inicializuje novou instanci OperationExecutor.GetMigrations třídy.

OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary)

Inicializuje novou instanci OperationExecutor.GetMigrations třídy.

Podporované argumenty args jsou:

contextType--Použít DbContext .

OperationExecutor.GetMigrations(OperationExecutor, IOperationResultHandler, IDictionary)

Inicializuje novou instanci OperationExecutor.GetMigrations třídy.

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

Parametry

executor
OperationExecutor

Exekutor operace.

args
IDictionary

Argumenty operace

Poznámky

Podporované argumenty args jsou:

contextType--Použít DbContext .

connectionString--Připojovací řetězec k databázi. Výchozí hodnota je zadaná v Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.AddDbContext nebo OnConfiguring(DbContextOptionsBuilder).

noConnect--Nepřipojujte se k databázi.

Platí pro

OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary)

Inicializuje novou instanci OperationExecutor.GetMigrations třídy.

Podporované argumenty args jsou:

contextType--Použít DbContext .

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

Parametry

executor
OperationExecutor

Exekutor operace.

resultHandler
Object

Hodnota IOperationResultHandler

args
IDictionary

Argumenty operace

Platí pro