Table of Contents

Interface IReadOnlyStoredProcedureParameter

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

Represents a stored procedure parameter.

public interface IReadOnlyStoredProcedureParameter : IReadOnlyAnnotatable

Properties

Direction

Gets the direction of the parameter.

ParameterDirection Direction { get; }

Property Value

ParameterDirection

ForOriginalValue

Gets a value indicating whether the parameter holds the original or the current property value.

bool? ForOriginalValue { get; }

Property Value

bool?

ForRowsAffected

Gets a value indicating whether the parameter holds the rows affected by the stored procedure.

bool ForRowsAffected { get; }

Property Value

bool

Name

Gets the parameter name.

string Name { get; }

Property Value

string

PropertyName

Gets the name of property mapped to this parameter.

string? PropertyName { get; }

Property Value

string

StoredProcedure

Gets the stored procedure to which this parameter belongs.

IReadOnlyStoredProcedure StoredProcedure { get; }

Property Value

IReadOnlyStoredProcedure

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.