Table of Contents

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

IEnumerable<IStoredProcedureParameterMapping>

ResultColumnMappings

Gets the result column mappings corresponding to the target stored procedure.

IEnumerable<IStoredProcedureResultColumnMapping> ResultColumnMappings { get; }

Property Value

IEnumerable<IStoredProcedureResultColumnMapping>

StoreStoredProcedure

Gets the target stored procedure in the database.

IStoreStoredProcedure StoreStoredProcedure { get; }

Property Value

IStoreStoredProcedure

StoredProcedure

Gets the target stored procedure in the model.

IStoredProcedure StoredProcedure { get; }

Property Value

IStoredProcedure

StoredProcedureIdentifier

Gets the stored procedure identifier including whether it's used for insert, delete or update.

StoreObjectIdentifier StoredProcedureIdentifier { get; }

Property Value

StoreObjectIdentifier

TableMapping

Gets the corresponding table mapping if it exists.

ITableMapping? TableMapping { get; }

Property Value

ITableMapping

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 MetadataDebugStringOptions

Options for generating the string.

indent int

The number of indent spaces to use before each new line.

Returns

string

A human-readable representation.