語言

IConventionStoredProcedureParameter 介面

定義

代表一個儲存程序參數。

public interface IConventionStoredProcedureParameter : Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyStoredProcedureParameter
type IConventionStoredProcedureParameter = interface
    interface IReadOnlyStoredProcedureParameter
    interface IReadOnlyAnnotatable
    interface IConventionAnnotatable
Public Interface IConventionStoredProcedureParameter
Implements IConventionAnnotatable, IReadOnlyStoredProcedureParameter
實作

屬性

名稱 Description
Builder

取得可用來配置此儲存程序參數的建構器。

Direction

取得參數的方向。

(繼承來源 IReadOnlyStoredProcedureParameter)
ForOriginalValue

會得到一個值,表示該參數是保留原始屬性值還是目前屬性值。

(繼承來源 IReadOnlyStoredProcedureParameter)
ForRowsAffected

會取得一個值,表示該參數是否包含受儲存程序影響的列。

(繼承來源 IReadOnlyStoredProcedureParameter)
IsInModel

表示該物件是否在模型中,也就是尚未從模型中移除。

(繼承來源 IConventionAnnotatable)
Item[String]

取得帶有名稱的註解值,若不存在則回 null 傳。

(繼承來源 IReadOnlyAnnotatable)
Name

取得參數名稱。

(繼承來源 IReadOnlyStoredProcedureParameter)
PropertyName

能讓屬性名稱映射到這個參數。

(繼承來源 IReadOnlyStoredProcedureParameter)
StoredProcedure

取得該參數所屬的儲存程序。

方法

名稱 Description
AddAnnotation(String, Object, Boolean)

為此物件新增註解。 如果已有指定名稱的註解存在,則會拋出。

(繼承來源 IConventionAnnotatable)
AddAnnotations(IEnumerable<IConventionAnnotation>, Boolean)

為物件添加註解。

(繼承來源 IConventionAnnotatable)
AnnotationsToDebugString(Int32)

取得物件上所有宣告註解的除錯字串。

(繼承來源 IReadOnlyAnnotatable)
FindAnnotation(String)

取得帶有名字的註解,若不存在則回 null 傳。

(繼承來源 IConventionAnnotatable)
GetAnnotation(String)

取得帶有名稱的註解,若不存在則拋出。

(繼承來源 IConventionAnnotatable)
GetAnnotations()

取得目前物件的所有註解。

(繼承來源 IConventionAnnotatable)
GetDirectionConfigurationSource()

回傳 的 Direction配置來源。

GetNameConfigurationSource()

回傳 的 Name配置來源。

RemoveAnnotation(String)

移除這個物件中帶有名字的註解。

(繼承來源 IConventionAnnotatable)
SetAnnotation(String, Object, Boolean)

設定以名字儲存的註解。 若已有指定名稱的註解存在,則會覆寫現有註解。

(繼承來源 IConventionAnnotatable)
SetDirection(ParameterDirection, Boolean)

設定參數的方向。

SetName(String, Boolean)

設定參數名稱。

SetOrRemoveAnnotation(String, Object, Boolean)

設定以名字儲存的註解。 若已有指定名稱的註解存在,則會覆寫現有註解。 若 null 提供 則移除現有註解。

(繼承來源 IConventionAnnotatable)
ToDebugString(MetadataDebugStringOptions, Int32)

建立給定元資料的可讀表示法。

警告:請勿依賴回傳字串的格式。 它僅設計用於除錯,且可能在不同版本間任意變動。

(繼承來源 IReadOnlyStoredProcedureParameter)

適用於