Table of Contents

Interface IStoreStoredProcedureParameter

Namespace
Microsoft.EntityFrameworkCore.Metadata
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

Represents a parameter in a stored procedure.

public interface IStoreStoredProcedureParameter : IColumnBase, IAnnotatable, IReadOnlyAnnotatable
Inherited Members

Properties

Direction

Gets the direction of the parameter.

ParameterDirection Direction { get; }

Property Value

ParameterDirection

Position

Gets the 0-based position of the parameter in the declaring stored procedure.

int Position { get; }

Property Value

int

PropertyMappings

Gets the property mappings.

IReadOnlyList<IStoredProcedureParameterMapping> PropertyMappings { get; }

Property Value

IReadOnlyList<IStoredProcedureParameterMapping>

StoredProcedure

Gets the containing stored procedure.

IStoreStoredProcedure StoredProcedure { get; }

Property Value

IStoreStoredProcedure

Methods

FindParameterMapping(IReadOnlyEntityType)

Returns the property mapping for the given entity type.

IStoredProcedureParameterMapping? FindParameterMapping(IReadOnlyEntityType entityType)

Parameters

entityType IReadOnlyEntityType

An entity type.

Returns

IStoredProcedureParameterMapping

The property mapping or null if not found.

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.