DbFunctionTypeMappingConvention Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use IModelRuntimeInitializer.Initialize instead.
A convention configure type mapping for IDbFunction instances.
public class DbFunctionTypeMappingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
public class DbFunctionTypeMappingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[System.Obsolete("Use IModelRuntimeInitializer.Initialize instead.")]
public class DbFunctionTypeMappingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type DbFunctionTypeMappingConvention = class
interface IModelFinalizedConvention
interface IConvention
type DbFunctionTypeMappingConvention = class
interface IModelFinalizingConvention
interface IConvention
[<System.Obsolete("Use IModelRuntimeInitializer.Initialize instead.")>]
type DbFunctionTypeMappingConvention = class
interface IModelFinalizingConvention
interface IConvention
Public Class DbFunctionTypeMappingConvention
Implements IModelFinalizedConvention
Public Class DbFunctionTypeMappingConvention
Implements IModelFinalizingConvention
- Inheritance
-
DbFunctionTypeMappingConvention
- Attributes
- Implements
Remarks
See Model building conventions and Database functions for more information.
Constructors
DbFunctionTypeMappingConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies) |
Creates a new instance of DbFunctionTypeMappingConvention. |
Properties
Dependencies |
Dependencies for this service. |
RelationalDependencies |
Relational provider-specific dependencies for this service. |
Methods
ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
Called after a model is finalized. |
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
Called when a model is being finalized. |
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for