共用方式為


OperationExecutor.GetMigrations 建構函式

定義

多載

OperationExecutor.GetMigrations(OperationExecutor, IOperationResultHandler, IDictionary)

初始化 OperationExecutor.GetMigrations 類別的新執行個體。

OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary)

初始化 OperationExecutor.GetMigrations 類別的新執行個體。

支援的 args 引數包括:

contextType-- DbContext 要使用的 。

OperationExecutor.GetMigrations(OperationExecutor, IOperationResultHandler, IDictionary)

來源:
OperationExecutor.cs
來源:
OperationExecutor.cs
來源:
OperationExecutor.cs
來源:
OperationExecutor.cs
來源:
OperationExecutor.cs
來源:
OperationExecutor.cs
來源:
OperationExecutor.cs

初始化 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)

參數

executor
OperationExecutor

作業執行程式。

args
IDictionary

作業引數。

備註

支援的 args 引數包括:

contextType-- DbContext 要使用的 。

connectionString--資料庫的連接字串。 預設為 或 OnConfiguring(DbContextOptionsBuilder) 中指定的 Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.AddDbContext

noConnect--請勿連線到資料庫。

適用於

OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary)

來源:
OperationExecutor.cs
來源:
OperationExecutor.cs

初始化 OperationExecutor.GetMigrations 類別的新執行個體。

支援的 args 引數包括:

contextType-- 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)

參數

executor
OperationExecutor

作業執行程式。

resultHandler
Object

IOperationResultHandler

args
IDictionary

作業引數。

適用於