共用方式為


IConventionDbFunctionParameterBuilder 介面

定義

提供簡單的 API 來設定 IConventionDbFunctionParameter

public interface IConventionDbFunctionParameterBuilder : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionAnnotatableBuilder
type IConventionDbFunctionParameterBuilder = interface
    interface IConventionAnnotatableBuilder
Public Interface IConventionDbFunctionParameterBuilder
Implements IConventionAnnotatableBuilder
實作

備註

如需詳細資訊和範例,請參閱 模型建置慣例

屬性

Metadata

正在建置的函式參數中繼資料。

ModelBuilder

取得模型產生器。

(繼承來源 IConventionAnnotatableBuilder)

方法

CanRemoveAnnotation(String, Boolean)

傳回值,指出是否可以使用此組態來源移除具有指定名稱的注釋。

(繼承來源 IConventionAnnotatableBuilder)
CanSetAnnotation(String, Object, Boolean)

傳回值,指出是否可以從這個組態來源設定具有指定名稱和值的注釋。

(繼承來源 IConventionAnnotatableBuilder)
CanSetStoreType(String, Boolean)

傳回值,指出是否可以從目前的組態來源設定此屬性的存放區類型。

CanSetTypeMapping(RelationalTypeMapping, Boolean)

傳回值,指出是否可以 RelationalTypeMapping 從目前的組態來源設定這個屬性。

HasAnnotation(String, Object, Boolean)

設定儲存在指定名稱下的批註。 如果具有指定名稱的注釋已經存在,且相同或更低 ConfigurationSource ,則會覆寫現有的注釋。

HasNoAnnotation(String, Boolean)

從這個 物件中移除具有指定名稱的批註。

HasNonNullAnnotation(String, Object, Boolean)

設定儲存在指定名稱下的批註。 如果具有指定名稱的注釋已經存在,且相同或更低 ConfigurationSource ,則會覆寫現有的注釋。 如果 null 已指定值,則移除批註。

HasStoreType(String, Boolean)

設定資料庫中函式參數的存放區類型。

HasTypeMapping(RelationalTypeMapping, Boolean)

RelationalTypeMapping設定函式參數的 。

RemoveAnnotation(String, Boolean)
已過時。

從這個 物件中移除具有指定名稱的批註。

(繼承來源 IConventionAnnotatableBuilder)
SetOrRemoveAnnotation(String, Object, Boolean)
已過時。

設定或移除儲存在指定名稱下的批註。

(繼承來源 IConventionAnnotatableBuilder)

適用於