Table of Contents

Interface IReadOnlyDbFunctionParameter

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

Represents a function parameter.

public interface IReadOnlyDbFunctionParameter : IReadOnlyAnnotatable

Remarks

See Database functions for more information and examples.

Properties

ClrType

Gets the parameter type.

Type ClrType { get; }

Property Value

Type

Function

Gets the function to which this parameter belongs.

IReadOnlyDbFunction Function { get; }

Property Value

IReadOnlyDbFunction

Name

Gets the parameter name.

string Name { get; }

Property Value

string

PropagatesNullability

Gets the value which indicates whether the parameter propagates nullability, meaning if it's value is null the database function itself returns null.

bool PropagatesNullability { get; }

Property Value

bool

StoreType

Gets the store type of this parameter.

string? StoreType { get; }

Property Value

string

TypeMapping

Gets the type mapping for this parameter.

RelationalTypeMapping? TypeMapping { get; }

Property Value

RelationalTypeMapping

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.