共用方式為


IConventionStoredProcedureResultColumnBuilder 介面

定義

提供簡單的 API 來設定 IConventionStoredProcedureResultColumn

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

備註

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

屬性

Metadata

正在建置的預存程式結果資料行中繼資料。

ModelBuilder

取得模型產生器。

(繼承來源 IConventionAnnotatableBuilder)

方法

CanRemoveAnnotation(String, Boolean)

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

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

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

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

傳回值,指出是否可以設定指定的結果資料行名稱。

HasAnnotation(String, Object, Boolean)

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

HasName(String, Boolean)

設定結果資料行名稱。

HasNoAnnotation(String, Boolean)

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

HasNonNullAnnotation(String, Object, Boolean)

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

RemoveAnnotation(String, Boolean)
已過時。.

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

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

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

(繼承來源 IConventionAnnotatableBuilder)

適用於