Interface IStoreStoredProcedure
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Represents a stored procedure in a database.
public interface IStoreStoredProcedure : ITableBase, IAnnotatable, IReadOnlyAnnotatable
- Inherited Members
Properties
EntityTypeMappings
Gets the entity type mappings.
IEnumerable<IStoredProcedureMapping> EntityTypeMappings { get; }
Property Value
Parameters
Gets the parameters for this stored procedure.
IReadOnlyList<IStoreStoredProcedureParameter> Parameters { get; }
Property Value
ResultColumns
Gets the columns defined for the returned row set.
IEnumerable<IStoreStoredProcedureResultColumn> ResultColumns { get; }
Property Value
ReturnValue
Gets the return for this stored procedure.
IStoreStoredProcedureReturnValue? ReturnValue { get; }
Property Value
StoredProcedures
Gets the associated model stored procedures.
IEnumerable<IStoredProcedure> StoredProcedures { get; }
Property Value
Methods
FindParameter(IProperty)
Gets the parameter mapped to the given property. Returns null if no parameter is mapped to the given property.
IStoreStoredProcedureParameter? FindParameter(IProperty property)
Parameters
propertyIProperty
Returns
FindParameter(string)
Gets the parameter with the given name. Returns null if no parameter with the given name is defined for the returned row set.
IStoreStoredProcedureParameter? FindParameter(string name)
Parameters
namestring
Returns
FindResultColumn(IProperty)
Gets the result column mapped to the given property. Returns null if no result column is mapped to the given property.
IStoreStoredProcedureResultColumn? FindResultColumn(IProperty property)
Parameters
propertyIProperty
Returns
FindResultColumn(string)
Gets the result column with the given name. Returns null if no result column with the given name is defined for the returned row set.
IStoreStoredProcedureResultColumn? FindResultColumn(string name)
Parameters
namestring
Returns
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
optionsMetadataDebugStringOptionsOptions for generating the string.
indentintThe number of indent spaces to use before each new line.
Returns
- string
A human-readable representation.