語言

IStoreStoredProcedure 介面

定義

代表資料庫中的一個儲存程序。

public interface IStoreStoredProcedure : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable, Microsoft.EntityFrameworkCore.Metadata.ITableBase
type IStoreStoredProcedure = interface
    interface ITableBase
    interface IAnnotatable
    interface IReadOnlyAnnotatable
Public Interface IStoreStoredProcedure
Implements IAnnotatable, ITableBase
實作

屬性

名稱 Description
Columns

取得此表格中定義的欄位。

(繼承來源 ITableBase)
ComplexTypeMappings

能取得複雜型態的映射。

(繼承來源 ITableBase)
EntityTypeMappings

取得實體類型的映射。

IsShared

取得顯示多個實體類型是否共享資料表列的值。

(繼承來源 ITableBase)
Item[String]

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

(繼承來源 IReadOnlyAnnotatable)
Model

取得資料庫模型。

(繼承來源 ITableBase)
Name

取得資料庫中資料表的名稱。

(繼承來源 ITableBase)
Parameters

取得此儲存程序的參數。

ResultColumns

取得回傳列集所定義的欄位。

ReturnValue

會獲得這個儲存程序的回傳。

Schema

取得資料庫中資料表的結構。

(繼承來源 ITableBase)
SchemaQualifiedName

取得資料庫中資料表的結構限定名稱。

(繼承來源 ITableBase)
StoredProcedures

取得相關的模型儲存程序。

方法

名稱 Description
AddRuntimeAnnotation(String, Object)

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

(繼承來源 IAnnotatable)
AnnotationsToDebugString(Int32)

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

(繼承來源 IReadOnlyAnnotatable)
FindAnnotation(String)

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

(繼承來源 IReadOnlyAnnotatable)
FindColumn(IProperty)

讓欄位映射到給定的屬性。 若沒有欄位映射到該屬性,則回傳 null 。

(繼承來源 ITableBase)
FindColumn(IPropertyBase)

讓欄位映射到給定的屬性。 若沒有欄位映射到該屬性,則回傳 null 。

(繼承來源 ITableBase)
FindColumn(String)

取得帶有名字的欄位。 若未定義帶有該名稱的欄位,則返回 null 。

(繼承來源 ITableBase)
FindParameter(IProperty)

讓參數映射到給定屬性。 若沒有參數映射到給定屬性,則回傳 null 。

FindParameter(String)

取得帶有名字的參數。 若返回的列集合未定義帶有該名稱的參數,則返回 null 。

FindResultColumn(IProperty)

將結果欄位映射到給定屬性。 若沒有結果欄位映射到給定屬性,則回傳 null 。

FindResultColumn(String)

取得帶有名稱的結果欄位。 若返回的列集未定義帶有該名稱的結果欄位,則回傳 null 。

FindRuntimeAnnotation(String)

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

(繼承來源 IAnnotatable)
FindRuntimeAnnotationValue(String)

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

(繼承來源 IAnnotatable)
GetAnnotation(String)

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

(繼承來源 IReadOnlyAnnotatable)
GetAnnotations()

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

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

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

(繼承來源 IAnnotatable)
GetReferencingRowInternalForeignKeys(IEntityType)

從共享此表的其他實體類型取得引用該實體類型的外鍵。

(繼承來源 ITableBase)
GetRowInternalForeignKeys(IEntityType)

取得該實體類型的外鍵,指向共享此表的其他實體類型。

(繼承來源 ITableBase)
GetRuntimeAnnotations()

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

(繼承來源 IAnnotatable)
IsOptional(IEntityType)

取得該類型實體是否可能不存在於連續的值。

(繼承來源 ITableBase)
IsOptional(ITypeBase)

取得該類型實體是否可能不存在於連續的值。

(繼承來源 ITableBase)
RemoveRuntimeAnnotation(String)

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

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

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

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

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

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

明確介面實作

名稱 Description
ITableBase.ToDebugString(MetadataDebugStringOptions, Int32)

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

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

適用於