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
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
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
stringThe result column name.
fromDataAnnotation
boolIndicates whether the configuration was specified using a data annotation.