共用方式為


OperationExecutor.GetContextInfo 類別

定義

表示取得型別相關資訊的 DbContext 作業。

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

建構函式

OperationExecutor.GetContextInfo(OperationExecutor, IOperationResultHandler, IDictionary)

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

OperationExecutor.GetContextInfo(OperationExecutor, Object, IDictionary)

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

支援的 args 引數包括:

contextType--要使用的 DbContext 類型。

方法

Execute(Action)

執行將例外狀況傳遞至 的 IOperationResultHandler 動作。

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

執行動作,將結果或例外狀況傳遞至 IOperationResultHandler

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

執行動作,將結果或例外狀況傳遞至 IOperationResultHandler

(繼承來源 OperationExecutor.OperationBase)

適用於