語言

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)

適用於