語言

IStoredProcedure 介面

定義

代表模型中的儲存程序。

public interface IStoredProcedure : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyStoredProcedure
type IStoredProcedure = interface
    interface IReadOnlyStoredProcedure
    interface IReadOnlyAnnotatable
    interface IAnnotatable
Public Interface IStoredProcedure
Implements IAnnotatable, IReadOnlyStoredProcedure
衍生
實作

屬性

名稱 Description
EntityType

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

IsRowsAffectedReturned

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

(繼承來源 IReadOnlyStoredProcedure)
Item[String]

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

(繼承來源 IReadOnlyAnnotatable)
Name

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

Parameters

取得此儲存程序的參數。

ResultColumns

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

Schema

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

(繼承來源 IReadOnlyStoredProcedure)
StoreStoredProcedure

取得相關的資料庫儲存程序。

方法

名稱 Description
AddRuntimeAnnotation(String, Object)

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

(繼承來源 IAnnotatable)
AnnotationsToDebugString(Int32)

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

(繼承來源 IReadOnlyAnnotatable)
FindAnnotation(String)

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

(繼承來源 IReadOnlyAnnotatable)
FindOriginalValueParameter(String)

回傳對應給定性質的原始值參數。

FindParameter(String)

回傳對應給定性質的參數。

FindResultColumn(String)

回傳對應給定屬性的結果欄位。

FindRowsAffectedParameter()

回傳受影響的列參數。

FindRowsAffectedResultColumn()

回傳受影響的結果欄位。

FindRuntimeAnnotation(String)

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

(繼承來源 IAnnotatable)
FindRuntimeAnnotationValue(String)

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

(繼承來源 IAnnotatable)
GetAnnotation(String)

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

(繼承來源 IReadOnlyAnnotatable)
GetAnnotations()

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

(繼承來源 IReadOnlyAnnotatable)
GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg)

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

(繼承來源 IAnnotatable)
GetRuntimeAnnotations()

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

(繼承來源 IAnnotatable)
GetSchemaQualifiedName()

回傳結構前置的儲存程序名稱,若 null 未映射則為。

(繼承來源 IReadOnlyStoredProcedure)
GetStoreIdentifier()

回傳此儲存程序的儲存識別碼。

RemoveRuntimeAnnotation(String)

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

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

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

(繼承來源 IAnnotatable)
ToDebugString(MetadataDebugStringOptions, Int32)

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

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

(繼承來源 IReadOnlyStoredProcedure)

適用於