Interface IConventionStoredProcedureParameter
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Represents a stored procedure parameter.
public interface IConventionStoredProcedureParameter : IReadOnlyStoredProcedureParameter, IReadOnlyAnnotatable, IConventionAnnotatable
- Inherited Members
Properties
Builder
Gets the builder that can be used to configure this stored procedure parameter.
IConventionStoredProcedureParameterBuilder Builder { get; }
Property Value
Exceptions
- InvalidOperationException
If the stored procedure parameter has been removed from the model.
StoredProcedure
Gets the stored procedure to which this parameter belongs.
IConventionStoredProcedure StoredProcedure { get; }
Property Value
Methods
GetDirectionConfigurationSource()
Returns the configuration source for Direction.
ConfigurationSource? GetDirectionConfigurationSource()
Returns
- ConfigurationSource?
The configuration source for Direction.
GetNameConfigurationSource()
Returns the configuration source for Name.
ConfigurationSource? GetNameConfigurationSource()
Returns
- ConfigurationSource?
The configuration source for Name.
SetDirection(ParameterDirection, bool)
Sets the direction of the parameter.
ParameterDirection SetDirection(ParameterDirection direction, bool fromDataAnnotation = false)
Parameters
direction
ParameterDirectionThe direction of the parameter.
fromDataAnnotation
boolIndicates whether the configuration was specified using a data annotation.
Returns
SetName(string, bool)
Sets the parameter name.
string SetName(string name, bool fromDataAnnotation = false)
Parameters
name
stringThe parameter name.
fromDataAnnotation
boolIndicates whether the configuration was specified using a data annotation.