語言

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
實作

屬性

名稱 Description
Builder

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

EntityType

取得定義此儲存程序的實體類型。

IsInModel

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

(繼承來源 IConventionAnnotatable)
IsRowsAffectedReturned

會獲得一個值,表示這個儲存程序是否回傳受影響的列數。

(繼承來源 IReadOnlyStoredProcedure)
Item[String]

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

(繼承來源 IReadOnlyAnnotatable)
Name

取得資料庫中儲存程序的名稱。

(繼承來源 IReadOnlyStoredProcedure)
Parameters

取得此儲存程序的參數。

ResultColumns

取得此儲存程序結果的欄位。

Schema

取得資料庫中儲存程序的結構。

(繼承來源 IReadOnlyStoredProcedure)

方法

名稱 Description
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)

適用於