Interface IConventionDbFunctionParameter
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Represents a IConventionDbFunction parameter.
public interface IConventionDbFunctionParameter : IConventionAnnotatable, IDbFunctionParameter, IAnnotatable
- Inherited Members
Properties
Builder
The IConventionDbFunctionParameterBuilder for configuring this function parameter.
IConventionDbFunctionParameterBuilder Builder { get; }
Property Value
Function
The IConventionDbFunction to which this parameter belongs.
IConventionDbFunction Function { get; }
Property Value
Methods
GetConfigurationSource()
Returns the configuration source for the parameter.
ConfigurationSource GetConfigurationSource()
Returns
- ConfigurationSource
The configuration source for the parameter.
GetStoreTypeConfigurationSource()
Returns the configuration source for StoreType.
ConfigurationSource? GetStoreTypeConfigurationSource()
Returns
- ConfigurationSource?
The configuration source for StoreType.
GetTypeMappingConfigurationSource()
Returns the configuration source for TypeMapping.
ConfigurationSource? GetTypeMappingConfigurationSource()
Returns
- ConfigurationSource?
The configuration source for TypeMapping.
SetStoreType(string, bool)
Sets the store type of the parameter.
string SetStoreType(string storeType, bool fromDataAnnotation = false)
Parameters
storeType
stringThe store type of the parameter.
fromDataAnnotation
boolIndicates whether the configuration was specified using a data annotation.
Returns
SetTypeMapping(RelationalTypeMapping, bool)
Sets the type mapping of the parameter.
RelationalTypeMapping SetTypeMapping(RelationalTypeMapping typeMapping, bool fromDataAnnotation = false)
Parameters
typeMapping
RelationalTypeMappingThe type mapping of the parameter in the database.
fromDataAnnotation
boolIndicates whether the configuration was specified using a data annotation.