IConventionStoredProcedure 介面

定義

表示模型中的預存程式,在建置模型時可以變動的表單中。

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

屬性

Builder

取得可用來設定這個預存程式的產生器。

EntityType

取得定義這個預存程式的實體類型。

IsInModel

指出這個物件是否在模型中,亦即尚未從其中一個物件中移除。

(繼承來源 IConventionAnnotatable)
IsRowsAffectedReturned

取得值,指出這個預存程式是否傳回受影響的資料列數目。

(繼承來源 IReadOnlyStoredProcedure)
Item[String]

取得具有指定名稱之注釋的值,如果不存在,則傳 null 回 。

(繼承來源 IReadOnlyAnnotatable)
Name

取得資料庫中預存程式的名稱。

(繼承來源 IReadOnlyStoredProcedure)
Parameters

取得這個預存程式的參數。

ResultColumns

取得這個預存程式之結果的資料行。

Schema

取得資料庫中預存程式的架構。

(繼承來源 IReadOnlyStoredProcedure)

方法

AddAnnotation(String, Object, Boolean)

將注釋加入至這個物件。 如果具有指定名稱的注釋已經存在,則會擲回 。

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

將批註加入物件。

(繼承來源 IConventionAnnotatable)
AddOriginalValueParameter(String, Boolean)

加入新的參數,這個參數會保存具有指定名稱之屬性的原始值。

AddParameter(String, Boolean)

新增對應至具有指定名稱之 屬性的新參數。

AddResultColumn(String, Boolean)

針對對應至具有指定名稱之 屬性的這個預存程式,新增結果的新資料行

AddRowsAffectedParameter(Boolean)

加入輸出參數,這個參數會傳回此預存程式所影響的資料列。

AddRowsAffectedResultColumn(Boolean)

加入結果的新資料行,其中包含此預存程式所影響的資料列。

AnnotationsToDebugString(Int32)

取得 物件上宣告之所有注釋的偵錯字串。

(繼承來源 IReadOnlyAnnotatable)
FindAnnotation(String)

取得具有指定名稱的注釋,如果不存在,則傳 null 回 。

(繼承來源 IConventionAnnotatable)
FindOriginalValueParameter(String)

傳回對應至指定屬性的原始值參數。

FindParameter(String)

傳回對應至指定屬性的參數。

FindResultColumn(String)

傳回對應至指定屬性的結果資料行。

FindRowsAffectedParameter()

傳回受影響的資料列參數。

FindRowsAffectedResultColumn()

傳回受影響的資料列結果資料行。

GetAnnotation(String)

取得具有指定名稱的注釋,如果不存在,則會擲回。

(繼承來源 IConventionAnnotatable)
GetAnnotations()

取得目前 物件上的所有批註。

(繼承來源 IConventionAnnotatable)
GetConfigurationSource()

取得這個預存程式的組態來源。

GetNameConfigurationSource()

取得 的 Name 組態來源。

GetSchemaConfigurationSource()

取得 的 Schema 組態來源。

GetSchemaQualifiedName()

傳回架構 null 前面加上或未對應的預存程式名稱。

(繼承來源 IReadOnlyStoredProcedure)
GetStoreIdentifier()

傳回這個預存程式的存放區識別碼。

(繼承來源 IReadOnlyStoredProcedure)
RemoveAnnotation(String)

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

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

設定儲存在指定名稱底下的批註。 如果具有指定名稱的注釋已經存在,則會覆寫現有的批註。

(繼承來源 IConventionAnnotatable)
SetIsRowsAffectedReturned(Boolean, Boolean)

設定此預存程式是否傳回受影響的資料列數目。

SetName(String, Boolean)

設定資料庫中預存程式的名稱。

SetOrRemoveAnnotation(String, Object, Boolean)

設定儲存在指定名稱底下的批註。 如果具有指定名稱的注釋已經存在,則會覆寫現有的批註。 如果 null 已提供,則會移除現有的批註。

(繼承來源 IConventionAnnotatable)
SetSchema(String, Boolean)

設定資料庫中預存程式的架構。

ToDebugString(MetadataDebugStringOptions, Int32)

建立人類可讀取的指定中繼資料標記法。

警告:不要依賴傳回字串的格式。 它專為偵錯而設計,而且可能會在發行之間任意變更。

(繼承來源 IReadOnlyStoredProcedure)

適用於