Table of Contents

Interface IStoreStoredProcedureResultColumn

Namespace
Microsoft.EntityFrameworkCore.Metadata
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

Represents a result column in a stored procedure.

public interface IStoreStoredProcedureResultColumn : IColumnBase, IAnnotatable, IReadOnlyAnnotatable
Inherited Members

Properties

Position

Gets the 0-based position of the result column in the declaring stored procedure's result set.

int Position { get; }

Property Value

int

PropertyMappings

Gets the property mappings.

IReadOnlyList<IStoredProcedureResultColumnMapping> PropertyMappings { get; }

Property Value

IReadOnlyList<IStoredProcedureResultColumnMapping>

StoredProcedure

Gets the containing stored procedure.

IStoreStoredProcedure StoredProcedure { get; }

Property Value

IStoreStoredProcedure

Methods

FindColumnMapping(IReadOnlyEntityType)

Returns the property mapping for the given entity type.

IStoredProcedureResultColumnMapping? FindColumnMapping(IReadOnlyEntityType entityType)

Parameters

entityType IReadOnlyEntityType

An entity type.

Returns

IStoredProcedureResultColumnMapping

The property mapping or null if not found.

ToDebugString(MetadataDebugStringOptions, int)

Creates a human-readable representation of the given metadata.

Warning: Do not rely on the format of the returned string. It is designed for debugging only and may change arbitrarily between releases.

string ToDebugString(MetadataDebugStringOptions options = 0, int indent = 0)

Parameters

options MetadataDebugStringOptions

Options for generating the string.

indent int

The number of indent spaces to use before each new line.

Returns

string

A human-readable representation.