Interface IDbFunction
- Namespace
- Microsoft.EntityFrameworkCore.Metadata
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
Represents a relational database function in an Microsoft.EntityFrameworkCore.Metadata.IModel.
public interface IDbFunction : IAnnotatable
- Extension Methods
Properties
IsAggregate
Gets the value indicating whether this function is an aggregate function.
bool IsAggregate { get; }
Property Value
IsBuiltIn
Gets the value indicating whether the database function is built-in.
bool IsBuiltIn { get; }
Property Value
IsNullable
Gets the value indicating whether the database function can return null.
bool IsNullable { get; }
Property Value
IsScalar
Gets the value indicating whether this function returns scalar value.
bool IsScalar { get; }
Property Value
MethodInfo
Gets the CLR method which maps to the function in the database.
MethodInfo MethodInfo { get; }
Property Value
Model
Gets the Microsoft.EntityFrameworkCore.Metadata.IModel in which this function is defined.
IModel Model { get; }
Property Value
- IModel
ModelName
Gets the name of the function in the model.
string ModelName { get; }
Property Value
Name
Gets the name of the function in the database.
string Name { get; }
Property Value
Parameters
Gets the parameters for this function.
IReadOnlyList<IDbFunctionParameter> Parameters { get; }
Property Value
ReturnType
Gets the returned CLR type.
Type ReturnType { get; }
Property Value
Schema
Gets the schema of the function in the database.
string Schema { get; }
Property Value
StoreFunction
Gets the associated IStoreFunction.
IStoreFunction StoreFunction { get; }
Property Value
StoreType
Gets the configured store type string.
string StoreType { get; }
Property Value
Translation
Gets the translation callback for performing custom translation of the method call into a SQL expression fragment.
Func<IReadOnlyCollection<SqlExpression>, SqlExpression> Translation { get; }
Property Value
TypeMapping
Gets the type mapping for the function's return type.
RelationalTypeMapping TypeMapping { get; }