語言

OperationExecutor.GetMigrations 類別

定義

代表一個列出可用遷移的操作。

public class OperationExecutor.GetMigrations : Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase
type OperationExecutor.GetMigrations = class
    inherit OperationExecutor.OperationBase
Public Class OperationExecutor.GetMigrations
Inherits OperationExecutor.OperationBase
繼承
OperationExecutor.GetMigrations
繼承
OperationExecutor.GetMigrations

建構函式

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

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

OperationExecutor.GetMigrations(OperationExecutor, Object, IDictionary)

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

支持的 args 論點包括:

contextType——用來 DbContext 用的。

方法

名稱 Description
Execute(Action)

執行一個動作,將異常傳達給 IOperationResultHandler。

(繼承來源 OperationExecutor.OperationBase)
Execute<T>(Func<IEnumerable<T>>)

執行一個動作,將結果或例外傳送給 IOperationResultHandler。

(繼承來源 OperationExecutor.OperationBase)
Execute<T>(Func<T>)

執行一個動作,將結果或例外傳遞給 IOperationResultHandler。

(繼承來源 OperationExecutor.OperationBase)

適用於