语言

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

构造函数

名称 说明
RuntimeStoredProcedure(RuntimeEntityType, String, String, Boolean)

初始化 RuntimeStoredProcedure 类的新实例。

属性

名称 说明
DebugView

这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 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()

这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 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

这是一个内部 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

获取关联的数据库存储过程。

适用于