Share via


IConventionStoredProcedureParameter 接口

定义

表示存储过程参数。

public interface IConventionStoredProcedureParameter : Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyStoredProcedureParameter
type IConventionStoredProcedureParameter = interface
    interface IReadOnlyStoredProcedureParameter
    interface IReadOnlyAnnotatable
    interface IConventionAnnotatable
Public Interface IConventionStoredProcedureParameter
Implements IConventionAnnotatable, IReadOnlyStoredProcedureParameter
实现

属性

Builder

获取可用于配置此存储过程参数的生成器。

Direction

获取参数的方向。

(继承自 IReadOnlyStoredProcedureParameter)
ForOriginalValue

获取一个值,该值指示参数是保留原始属性值还是当前属性值。

(继承自 IReadOnlyStoredProcedureParameter)
ForRowsAffected

获取一个值,该值指示 参数是否包含受存储过程影响的行。

(继承自 IReadOnlyStoredProcedureParameter)
IsInModel

指示此对象是否在模型中,即尚未从模型中删除。

(继承自 IConventionAnnotatable)
Item[String]

获取具有给定名称的批注的值,如果不存在,则返回 null

(继承自 IReadOnlyAnnotatable)
Name

获取参数名称。

(继承自 IReadOnlyStoredProcedureParameter)
PropertyName

获取映射到此参数的属性的名称。

(继承自 IReadOnlyStoredProcedureParameter)
StoredProcedure

获取此参数所属的存储过程。

方法

AddAnnotation(String, Object, Boolean)

向此对象添加批注。 如果已存在具有指定名称的批注,则引发 。

(继承自 IConventionAnnotatable)
AddAnnotations(IEnumerable<IConventionAnnotation>, Boolean)

向 对象添加批注。

(继承自 IConventionAnnotatable)
AnnotationsToDebugString(Int32)

获取对象上声明的所有注释的调试字符串。

(继承自 IReadOnlyAnnotatable)
FindAnnotation(String)

获取具有给定名称的批注,如果不存在,则返回 null

(继承自 IConventionAnnotatable)
GetAnnotation(String)

获取具有给定名称的批注,如果不存在,则引发该批注。

(继承自 IConventionAnnotatable)
GetAnnotations()

获取当前 对象上的所有注释。

(继承自 IConventionAnnotatable)
GetDirectionConfigurationSource()

返回 的配置 Direction源。

GetNameConfigurationSource()

返回 的配置 Name源。

RemoveAnnotation(String)

从此 对象中删除具有给定名称的批注。

(继承自 IConventionAnnotatable)
SetAnnotation(String, Object, Boolean)

设置存储在给定名称下的批注。 如果具有指定名称的批注已存在,则覆盖现有批注。

(继承自 IConventionAnnotatable)
SetDirection(ParameterDirection, Boolean)

设置参数的方向。

SetName(String, Boolean)

设置参数名称。

SetOrRemoveAnnotation(String, Object, Boolean)

设置存储在给定名称下的批注。 如果具有指定名称的批注已存在,则覆盖现有批注。 如果 null 提供了 ,则删除现有批注。

(继承自 IConventionAnnotatable)
ToDebugString(MetadataDebugStringOptions, Int32)

创建给定元数据的可读表示形式。

警告:不要依赖于返回的字符串的格式。 它仅用于调试,并且可能会在版本之间任意更改。

(继承自 IReadOnlyStoredProcedureParameter)

适用于