語言

IConventionDbFunctionParameter 介面

定義

代表一個函數參數。

public interface IConventionDbFunctionParameter : Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyDbFunctionParameter
public interface IConventionDbFunctionParameter : Microsoft.EntityFrameworkCore.Metadata.IDbFunctionParameter
public interface IConventionDbFunctionParameter : Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IDbFunctionParameter
type IConventionDbFunctionParameter = interface
    interface IReadOnlyDbFunctionParameter
    interface IReadOnlyAnnotatable
    interface IConventionAnnotatable
type IConventionDbFunctionParameter = interface
    interface IDbFunctionParameter
type IConventionDbFunctionParameter = interface
    interface IConventionAnnotatable
    interface IAnnotatable
    interface IDbFunctionParameter
type IConventionDbFunctionParameter = interface
    interface IConventionAnnotatable
    interface IReadOnlyAnnotatable
    interface IReadOnlyDbFunctionParameter
Public Interface IConventionDbFunctionParameter
Implements IConventionAnnotatable, IReadOnlyDbFunctionParameter
Public Interface IConventionDbFunctionParameter
Implements IDbFunctionParameter
Public Interface IConventionDbFunctionParameter
Implements IConventionAnnotatable, IDbFunctionParameter
實作

備註

更多資訊與範例請參見 資料庫函數 。

屬性

名稱 Description
Builder

用來 IConventionDbFunctionParameterBuilder 設定這個函數參數。

ClrType

取得參數型別。

(繼承來源 IDbFunctionParameter)
Function

該參數所屬的函數。

IsInModel

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

(繼承來源 IConventionAnnotatable)
Item[String]

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

(繼承來源 IAnnotatable)
Name

取得參數名稱。

(繼承來源 IDbFunctionParameter)
PropagatesNullability

取得參數是否傳播 nullability 的值,也就是說如果 參數是 null,資料庫函式本身會回傳 null。

(繼承來源 IDbFunctionParameter)
StoreFunctionParameter

得到相關的 IStoreFunctionParameter。

(繼承來源 IDbFunctionParameter)
StoreType

取得此參數的儲存類型。

(繼承來源 IDbFunctionParameter)
TypeMapping

得到這個參數的 。RelationalTypeMapping

(繼承來源 IDbFunctionParameter)

方法

名稱 Description
AddAnnotation(String, Object, Boolean)

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

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

為物件添加註解。

(繼承來源 IConventionAnnotatable)
AddRuntimeAnnotation(String, Object)

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

(繼承來源 IAnnotatable)
AnnotationsToDebugString(Int32)

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

(繼承來源 IReadOnlyAnnotatable)
FindAnnotation(String)

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

(繼承來源 IAnnotatable)
FindRuntimeAnnotation(String)

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

(繼承來源 IAnnotatable)
FindRuntimeAnnotationValue(String)

取得執行時註解的值,若名稱不存在則回 null 傳。

(繼承來源 IAnnotatable)
GetAnnotation(String)

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

(繼承來源 IConventionAnnotatable)
GetAnnotations()

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

(繼承來源 IAnnotatable)
GetConfigurationSource()

回傳參數的設定來源。

GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg)

取得帶有名稱的執行時註解值,若不存在則加入該註解。

(繼承來源 IAnnotatable)
GetRuntimeAnnotations()

取得目前物件上的所有執行時註解。

(繼承來源 IAnnotatable)
GetStoreTypeConfigurationSource()

回傳 的 StoreType配置來源。

GetTypeMappingConfigurationSource()

回傳 的 TypeMapping配置來源。

RemoveAnnotation(String)

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

(繼承來源 IConventionAnnotatable)
RemoveRuntimeAnnotation(String)

移除該物件中給定的執行時註解。

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

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

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

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

(繼承來源 IConventionAnnotatable)
SetRuntimeAnnotation(String, Object)

設定在指定鍵值下儲存的執行時註解。 若已有指定名稱的註解存在,則會覆寫現有註解。

(繼承來源 IAnnotatable)
SetStoreType(String, Boolean)

設定參數的儲存型態。

SetTypeMapping(RelationalTypeMapping, Boolean)

設定參數的型別映射。

ToDebugString(MetadataDebugStringOptions, Int32)

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

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

(繼承來源 IReadOnlyDbFunctionParameter)

擴充方法

名稱 Description
AddAnnotations(IConventionAnnotatable, IEnumerable<IConventionAnnotation>, Boolean)

為物件添加註解。

AnnotationsToDebugString(IAnnotatable, Int32)

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

GetAnnotation(IAnnotatable, String)

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

GetAnnotation(IConventionAnnotatable, String)

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

SetOrRemoveAnnotation(IConventionAnnotatable, String, Object, Boolean)

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

ToDebugString(IDbFunctionParameter, MetadataDebugStringOptions, Int32)

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

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

適用於