Bagikan melalui


OperationExecutor.GetMigrations Konstruktor

Definisi

Overload

OperationExecutor.GetMigrations(OperationExecutor, IOperationResultHandler, IDictionary)

Menginisialisasi instans baru kelas OperationExecutor.GetMigrations.

OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary)

Menginisialisasi instans baru kelas OperationExecutor.GetMigrations.

Argumen yang didukung oleh args adalah:

contextType--Yang DbContext akan digunakan.

OperationExecutor.GetMigrations(OperationExecutor, IOperationResultHandler, IDictionary)

Menginisialisasi instans baru kelas OperationExecutor.GetMigrations.

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)

Parameter

executor
OperationExecutor

Pelaksana operasi.

args
IDictionary

Argumen operasi.

Keterangan

Argumen yang didukung oleh args adalah:

contextType--Yang DbContext akan digunakan.

connectionString--String koneksi ke database. Default ke yang ditentukan di Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.AddDbContext atau OnConfiguring(DbContextOptionsBuilder).

noConnect--Jangan sambungkan ke database.

Berlaku untuk

OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary)

Menginisialisasi instans baru kelas OperationExecutor.GetMigrations.

Argumen yang didukung oleh args adalah:

contextType--Yang DbContext akan digunakan.

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)

Parameter

executor
OperationExecutor

Pelaksana operasi.

args
IDictionary

Argumen operasi.

Berlaku untuk