Share via


IConventionStoredProcedureResultColumn 接口

定义

表示存储过程结果列。

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

属性

Builder

获取可用于配置此结果列的生成器。

ForRowsAffected

获取一个值,该值指示结果列是否将保存受存储过程影响的行。

(继承自 IReadOnlyStoredProcedureResultColumn)
IsInModel

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

(继承自 IConventionAnnotatable)
Item[String]

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

(继承自 IReadOnlyAnnotatable)
Name

获取结果列名称。

(继承自 IReadOnlyStoredProcedureResultColumn)
PropertyName

获取映射到此结果列的属性的名称。

(继承自 IReadOnlyStoredProcedureResultColumn)
StoredProcedure

获取此结果列所属的存储过程。

方法

AddAnnotation(String, Object, Boolean)

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

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

向 对象添加批注。

(继承自 IConventionAnnotatable)
AnnotationsToDebugString(Int32)

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

(继承自 IReadOnlyAnnotatable)
FindAnnotation(String)

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

(继承自 IConventionAnnotatable)
GetAnnotation(String)

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

(继承自 IConventionAnnotatable)
GetAnnotations()

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

(继承自 IConventionAnnotatable)
GetNameConfigurationSource()

返回 的配置 Name源。

RemoveAnnotation(String)

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

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

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

(继承自 IConventionAnnotatable)
SetName(String, Boolean)

设置结果列名称。

SetOrRemoveAnnotation(String, Object, Boolean)

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

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

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

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

(继承自 IReadOnlyStoredProcedureResultColumn)

适用于