Class RuntimeDbFunctionParameter
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Represents a function parameter.
public class RuntimeDbFunctionParameter : AnnotatableBase, IRuntimeDbFunctionParameter, IDbFunctionParameter, IReadOnlyDbFunctionParameter, IReadOnlyAnnotatable, IAnnotatable
- Inheritance
-
RuntimeDbFunctionParameter
- Implements
-
IReadOnlyAnnotatableIAnnotatable
Remarks
See Database functions for more information and examples.
Constructors
RuntimeDbFunctionParameter(RuntimeDbFunction, string, Type, bool, string, RelationalTypeMapping?)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public RuntimeDbFunctionParameter(RuntimeDbFunction function, string name, Type clrType, bool propagatesNullability, string storeType, RelationalTypeMapping? typeMapping)
Parameters
function
RuntimeDbFunctionname
stringclrType
TypepropagatesNullability
boolstoreType
stringtypeMapping
RelationalTypeMapping
Properties
DebugView
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public virtual DebugView DebugView { get; }
Property Value
- DebugView
Function
Gets the function to which this parameter belongs.
public virtual RuntimeDbFunction Function { get; }
Property Value
Name
Gets the name of the function in the database.
public virtual string Name { get; }
Property Value
TypeMapping
Gets or sets the type mapping for this parameter.
public virtual RelationalTypeMapping? TypeMapping { get; set; }
Property Value
- RelationalTypeMapping
The type mapping.
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.