Interface IStoredProcedureMapping
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Represents entity type mapping to a stored procedure.
public interface IStoredProcedureMapping : ITableMappingBase, IAnnotatable, IReadOnlyAnnotatable
- Inherited Members
Properties
ParameterMappings
Gets the parameter mappings corresponding to the target stored procedure.
IEnumerable<IStoredProcedureParameterMapping> ParameterMappings { get; }
Property Value
ResultColumnMappings
Gets the result column mappings corresponding to the target stored procedure.
IEnumerable<IStoredProcedureResultColumnMapping> ResultColumnMappings { get; }
Property Value
StoreStoredProcedure
Gets the target stored procedure in the database.
IStoreStoredProcedure StoreStoredProcedure { get; }
Property Value
StoredProcedure
Gets the target stored procedure in the model.
IStoredProcedure StoredProcedure { get; }
Property Value
StoredProcedureIdentifier
Gets the stored procedure identifier including whether it's used for insert, delete or update.
StoreObjectIdentifier StoredProcedureIdentifier { get; }
Property Value
TableMapping
Gets the corresponding table mapping if it exists.
ITableMapping? TableMapping { get; }
Property Value
Methods
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
MetadataDebugStringOptionsOptions for generating the string.
indent
intThe number of indent spaces to use before each new line.
Returns
- string
A human-readable representation.