Share via


RuntimeStoredProcedure 類別

定義

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不需任何通知。 您應該只在程式碼中直接使用它,並特別小心,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

public class RuntimeStoredProcedure : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.Internal.IRuntimeStoredProcedure
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

建構函式

RuntimeStoredProcedure(RuntimeEntityType, String, String, Boolean)

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

屬性

DebugView

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不需任何通知。 您應該只在程式碼中直接使用它,並特別小心,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

EntityType

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

IsReadOnly

指出目前物件是否為唯讀。

(繼承來源 AnnotatableBase)
Item[String]

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

(繼承來源 AnnotatableBase)

方法

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()

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不需任何通知。 您應該只在程式碼中直接使用它,並特別小心,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

明確介面實作

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

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 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

取得相關聯的資料庫預存程式。

適用於