語言

RuntimeStoredProcedure 類別

定義

這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。

[System.Runtime.CompilerServices.Nullable(0)]
public class RuntimeStoredProcedure : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.Internal.IRuntimeStoredProcedure
public class RuntimeStoredProcedure : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.Internal.IRuntimeStoredProcedure
[<System.Runtime.CompilerServices.Nullable(0)>]
type RuntimeStoredProcedure = class
    inherit AnnotatableBase
    interface IRuntimeStoredProcedure
    interface IStoredProcedure
    interface IReadOnlyStoredProcedure
    interface IReadOnlyAnnotatable
    interface IAnnotatable
type RuntimeStoredProcedure = class
    inherit AnnotatableBase
    interface IRuntimeStoredProcedure
    interface IStoredProcedure
    interface IReadOnlyStoredProcedure
    interface IReadOnlyAnnotatable
    interface IAnnotatable
Public Class RuntimeStoredProcedure
Inherits AnnotatableBase
Implements IRuntimeStoredProcedure
繼承
RuntimeStoredProcedure
屬性
實作
IAnnotatable IReadOnlyAnnotatable Microsoft.EntityFrameworkCore.Metadata.Internal.IRuntimeStoredProcedure IReadOnlyStoredProcedure IStoredProcedure

建構函式

名稱 Description
RuntimeStoredProcedure(RuntimeEntityType, String, String, Boolean)

初始化 RuntimeStoredProcedure 類別的新執行個體。

屬性

名稱 Description
DebugView

這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。

EntityType

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

IsReadOnly

表示目前物件是否為唯讀。

(繼承來源 AnnotatableBase)
Item[String]

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

(繼承來源 AnnotatableBase)

方法

名稱 Description
AddAnnotation(String, Annotation)

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

(繼承來源 AnnotatableBase)
AddAnnotation(String, Object)

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

(繼承來源 AnnotatableBase)
AddAnnotations(IEnumerable<IAnnotation>)

為此物件新增註解。

(繼承來源 AnnotatableBase)
AddAnnotations(IReadOnlyDictionary<String,Object>)

為此物件新增註解。

(繼承來源 AnnotatableBase)
AddParameter(String, ParameterDirection, Boolean, String, Nullable<Boolean>)

新增一個映射到帶有名稱的屬性的參數。

AddResultColumn(String, Boolean, String)

新增一個儲存程序結果欄位,映射到帶有指定名稱的屬性

AddRuntimeAnnotation(String, Annotation)

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

(繼承來源 AnnotatableBase)
AddRuntimeAnnotation(String, Object)

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

(繼承來源 AnnotatableBase)
AddRuntimeAnnotations(IEnumerable<Annotation>)

為此物件新增執行時註解。

(繼承來源 AnnotatableBase)
AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)

為此物件新增執行時註解。

(繼承來源 AnnotatableBase)
CreateAnnotation(String, Object)

建立新的註解。

(繼承來源 AnnotatableBase)
CreateRuntimeAnnotation(String, Object)

建立新的執行時註解。

(繼承來源 AnnotatableBase)
EnsureMutable()

如果模型是唯讀,則會拋出。

(繼承來源 AnnotatableBase)
EnsureReadOnly()

若模型非唯讀,則會擲出。

(繼承來源 AnnotatableBase)
FindAnnotation(String)

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

(繼承來源 AnnotatableBase)
FindRuntimeAnnotation(String)

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

(繼承來源 AnnotatableBase)
GetAnnotation(String)

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

(繼承來源 AnnotatableBase)
GetAnnotations()

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

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

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

(繼承來源 AnnotatableBase)
GetRuntimeAnnotations()

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

(繼承來源 AnnotatableBase)
OnAnnotationSet(String, Annotation, Annotation)

當註解被設定或移除時會被呼叫。

(繼承來源 AnnotatableBase)
RemoveAnnotation(String)

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

(繼承來源 AnnotatableBase)
RemoveRuntimeAnnotation(String)

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

(繼承來源 AnnotatableBase)
SetAnnotation(String, Annotation, Annotation)

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

(繼承來源 AnnotatableBase)
SetAnnotation(String, Object)

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

(繼承來源 AnnotatableBase)
SetRuntimeAnnotation(String, Annotation, Annotation)

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

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

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

(繼承來源 AnnotatableBase)
ToString()

這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。

明確介面實作

名稱 Description
IAnnotatable.AddRuntimeAnnotation(String, Object)

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

(繼承來源 AnnotatableBase)
IAnnotatable.FindRuntimeAnnotation(String)

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

(繼承來源 AnnotatableBase)
IAnnotatable.GetRuntimeAnnotations()

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

(繼承來源 AnnotatableBase)
IAnnotatable.RemoveRuntimeAnnotation(String)

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

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

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

(繼承來源 AnnotatableBase)
IReadOnlyAnnotatable.FindAnnotation(String)

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

(繼承來源 AnnotatableBase)
IReadOnlyAnnotatable.GetAnnotations()

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

(繼承來源 AnnotatableBase)
IReadOnlyAnnotatable.Item[String]

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

(繼承來源 AnnotatableBase)
IReadOnlyStoredProcedure.EntityType

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

IReadOnlyStoredProcedure.FindOriginalValueParameter(String)

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

IReadOnlyStoredProcedure.FindParameter(String)

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

IReadOnlyStoredProcedure.FindResultColumn(String)

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

IReadOnlyStoredProcedure.FindRowsAffectedParameter()

回傳受影響的列參數。

IReadOnlyStoredProcedure.FindRowsAffectedResultColumn()

回傳受影響的結果欄位。

IReadOnlyStoredProcedure.IsRowsAffectedReturned

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

IReadOnlyStoredProcedure.Name

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

IReadOnlyStoredProcedure.Parameters

取得此儲存程序的參數。

IReadOnlyStoredProcedure.ResultColumns

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

IReadOnlyStoredProcedure.Schema

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

IRuntimeStoredProcedure.StoreStoredProcedure

這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。

IStoredProcedure.EntityType

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

IStoredProcedure.FindOriginalValueParameter(String)

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

IStoredProcedure.FindParameter(String)

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

IStoredProcedure.FindResultColumn(String)

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

IStoredProcedure.FindRowsAffectedParameter()

回傳受影響的列參數。

IStoredProcedure.FindRowsAffectedResultColumn()

回傳受影響的結果欄位。

IStoredProcedure.Name

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

IStoredProcedure.Parameters

取得此儲存程序的參數。

IStoredProcedure.ResultColumns

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

IStoredProcedure.StoreStoredProcedure

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

適用於