Table of Contents

Interface IConventionStoredProcedureResultColumn

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

Represents a stored procedure result column.

public interface IConventionStoredProcedureResultColumn : IReadOnlyStoredProcedureResultColumn, IReadOnlyAnnotatable, IConventionAnnotatable
Inherited Members

Properties

Builder

Gets the builder that can be used to configure this result column.

IConventionStoredProcedureResultColumnBuilder Builder { get; }

Property Value

IConventionStoredProcedureResultColumnBuilder

Exceptions

InvalidOperationException

If the stored procedure result column has been removed from the model.

StoredProcedure

Gets the stored procedure to which this result column belongs.

IConventionStoredProcedure StoredProcedure { get; }

Property Value

IConventionStoredProcedure

Methods

GetNameConfigurationSource()

Returns the configuration source for Name.

ConfigurationSource? GetNameConfigurationSource()

Returns

ConfigurationSource?

The configuration source for Name.

SetName(string, bool)

Sets the result column name.

string? SetName(string name, bool fromDataAnnotation = false)

Parameters

name string

The result column name.

fromDataAnnotation bool

Indicates whether the configuration was specified using a data annotation.

Returns

string