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
Function
Gets the function to which this parameter belongs.
IReadOnlyDbFunction Function { get; }
Property Value
Name
Gets the parameter name.
string Name { get; }
Property Value
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
StoreType
Gets the store type of this parameter.
string? StoreType { get; }
Property Value
TypeMapping
Gets the type mapping for this parameter.
RelationalTypeMapping? TypeMapping { 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.