Class DbFunction
- Namespace
- Microsoft.EntityFrameworkCore.Metadata.Internal
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
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 class DbFunction : ConventionAnnotatable, IMutableDbFunction, IMutableAnnotatable, IConventionDbFunction, IDbFunction, IAnnotatable, IConventionAnnotatable
- Inheritance
-
DbFunction
- Implements
-
IMutableAnnotatableIAnnotatableIConventionAnnotatable
Constructors
DbFunction(MethodInfo, IMutableModel, ConfigurationSource)
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 DbFunction(MethodInfo methodInfo, IMutableModel model, ConfigurationSource configurationSource)
Parameters
methodInfo
MethodInfomodel
IMutableModelconfigurationSource
ConfigurationSource
DbFunction(string, Type, IEnumerable<(string Name, Type Type)>, IMutableModel, ConfigurationSource)
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 DbFunction(string name, Type returnType, IEnumerable<(string Name, Type Type)> parameters, IMutableModel model, ConfigurationSource configurationSource)
Parameters
name
stringreturnType
Typeparameters
IEnumerable<(string Name, Type Type)>model
IMutableModelconfigurationSource
ConfigurationSource
Properties
Builder
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 InternalDbFunctionBuilder Builder { get; }
Property Value
IsAggregate
public virtual bool IsAggregate { get; }
Property Value
IsBuiltIn
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 bool IsBuiltIn { get; set; }
Property Value
IsNullable
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 bool IsNullable { get; set; }
Property Value
IsScalar
public virtual bool IsScalar { get; }
Property Value
MethodInfo
public virtual MethodInfo MethodInfo { get; }
Property Value
Model
public virtual IMutableModel Model { get; }
Property Value
- IMutableModel
ModelName
public virtual string ModelName { get; }
Property Value
Name
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 string Name { get; set; }
Property Value
Parameters
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 IReadOnlyList<DbFunctionParameter> Parameters { get; }
Property Value
ReturnType
public virtual Type ReturnType { get; }
Property Value
Schema
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 string Schema { get; set; }
Property Value
StoreFunction
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 IStoreFunction StoreFunction { get; set; }
Property Value
StoreType
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 string StoreType { get; set; }
Property Value
Translation
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 Func<IReadOnlyCollection<SqlExpression>, SqlExpression> Translation { get; set; }
Property Value
TypeMapping
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 RelationalTypeMapping TypeMapping { get; set; }
Property Value
Methods
AddDbFunction(IMutableModel, MethodInfo, ConfigurationSource)
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 static DbFunction AddDbFunction(IMutableModel model, MethodInfo methodInfo, ConfigurationSource configurationSource)
Parameters
model
IMutableModelmethodInfo
MethodInfoconfigurationSource
ConfigurationSource
Returns
AddDbFunction(IMutableModel, string, Type, ConfigurationSource)
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 static DbFunction AddDbFunction(IMutableModel model, string name, Type returnType, ConfigurationSource configurationSource)
Parameters
Returns
FindDbFunction(IModel, MethodInfo)
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 static DbFunction FindDbFunction(IModel model, MethodInfo methodInfo)
Parameters
model
IModelmethodInfo
MethodInfo
Returns
FindDbFunction(IModel, string)
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 static DbFunction FindDbFunction(IModel model, string name)
Parameters
model
IModelname
string
Returns
FindParameter(string)
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 DbFunctionParameter FindParameter(string name)
Parameters
name
string
Returns
GetConfigurationSource()
public virtual ConfigurationSource GetConfigurationSource()
Returns
- ConfigurationSource
GetDbFunctions(IModel)
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 static IEnumerable<DbFunction> GetDbFunctions(IModel model)
Parameters
model
IModel
Returns
GetIsBuiltInConfigurationSource()
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 ConfigurationSource? GetIsBuiltInConfigurationSource()
Returns
- ConfigurationSource?
GetIsNullableConfigurationSource()
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 ConfigurationSource? GetIsNullableConfigurationSource()
Returns
- ConfigurationSource?
GetNameConfigurationSource()
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 ConfigurationSource? GetNameConfigurationSource()
Returns
- ConfigurationSource?
GetSchemaConfigurationSource()
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 ConfigurationSource? GetSchemaConfigurationSource()
Returns
- ConfigurationSource?
GetStoreTypeConfigurationSource()
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 ConfigurationSource? GetStoreTypeConfigurationSource()
Returns
- ConfigurationSource?
GetTranslationConfigurationSource()
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 ConfigurationSource? GetTranslationConfigurationSource()
Returns
- ConfigurationSource?
GetTypeMappingConfigurationSource()
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 ConfigurationSource? GetTypeMappingConfigurationSource()
Returns
- ConfigurationSource?
RemoveDbFunction(IMutableModel, MethodInfo)
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 static DbFunction RemoveDbFunction(IMutableModel model, MethodInfo methodInfo)
Parameters
model
IMutableModelmethodInfo
MethodInfo
Returns
RemoveDbFunction(IMutableModel, string)
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 static DbFunction RemoveDbFunction(IMutableModel model, string name)
Parameters
model
IMutableModelname
string
Returns
SetIsBuiltIn(bool, ConfigurationSource)
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 bool SetIsBuiltIn(bool builtIn, ConfigurationSource configurationSource)
Parameters
builtIn
boolconfigurationSource
ConfigurationSource
Returns
SetIsNullable(bool, ConfigurationSource)
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 bool SetIsNullable(bool nullable, ConfigurationSource configurationSource)
Parameters
nullable
boolconfigurationSource
ConfigurationSource
Returns
SetName(string, ConfigurationSource)
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 string SetName(string name, ConfigurationSource configurationSource)
Parameters
name
stringconfigurationSource
ConfigurationSource
Returns
SetSchema(string, ConfigurationSource)
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 string SetSchema(string schema, ConfigurationSource configurationSource)
Parameters
schema
stringconfigurationSource
ConfigurationSource
Returns
SetStoreType(string, ConfigurationSource)
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 string SetStoreType(string storeType, ConfigurationSource configurationSource)
Parameters
storeType
stringconfigurationSource
ConfigurationSource
Returns
SetTranslation(Func<IReadOnlyCollection<SqlExpression>, SqlExpression>, ConfigurationSource)
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 Func<IReadOnlyCollection<SqlExpression>, SqlExpression> SetTranslation(Func<IReadOnlyCollection<SqlExpression>, SqlExpression> translation, ConfigurationSource configurationSource)
Parameters
translation
Func<IReadOnlyCollection<SqlExpression>, SqlExpression>configurationSource
ConfigurationSource
Returns
SetTypeMapping(RelationalTypeMapping, ConfigurationSource)
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 RelationalTypeMapping SetTypeMapping(RelationalTypeMapping typeMapping, ConfigurationSource configurationSource)
Parameters
typeMapping
RelationalTypeMappingconfigurationSource
ConfigurationSource
Returns
ToString()
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 override string ToString()
Returns
UpdateConfigurationSource(ConfigurationSource)
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 void UpdateConfigurationSource(ConfigurationSource configurationSource)
Parameters
configurationSource
ConfigurationSource