語言

OperationExecutor.AddMigration 建構函式

定義

多載

名稱 Description
OperationExecutor.AddMigration(OperationExecutor, IOperationResultHandler, IDictionary)

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

OperationExecutor.AddMigration(OperationExecutor, Object, IDictionary)

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

支持的 args 論點包括:

name——遷徙的名字。

outputDir——要使用的目錄(及子命名空間)。 路徑相對於專案目錄。 預設為「遷移」。

contextType——該 DbContext 用的類型。

OperationExecutor.AddMigration(OperationExecutor, IOperationResultHandler, IDictionary)

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

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

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

參數

executor
OperationExecutor

行動執行人。

args
IDictionary

手術的論點。

備註

支持的 args 論點包括:

name——遷徙的名字。

outputDir——要使用的目錄(及子命名空間)。 路徑相對於專案目錄。 預設為「遷移」。

contextType——該 DbContext 用的類型。

適用於

OperationExecutor.AddMigration(OperationExecutor, Object, IDictionary)

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

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

支持的 args 論點包括:

name——遷徙的名字。

outputDir——要使用的目錄(及子命名空間)。 路徑相對於專案目錄。 預設為「遷移」。

contextType——該 DbContext 用的類型。

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

參數

executor
OperationExecutor

行動執行人。

resultHandler
Object

IOperationResultHandler。

args
IDictionary

手術的論點。

適用於