RelationalModelConvention 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 that precomputes a relational model.
public class RelationalModelConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
[System.Obsolete("Use IModelRuntimeInitializer.Initialize instead.")]
public class RelationalModelConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
type RelationalModelConvention = class
interface IModelFinalizedConvention
interface IConvention
[<System.Obsolete("Use IModelRuntimeInitializer.Initialize instead.")>]
type RelationalModelConvention = class
interface IModelFinalizedConvention
interface IConvention
Public Class RelationalModelConvention
Implements IModelFinalizedConvention
- Inheritance
-
RelationalModelConvention
- Attributes
- Implements
Remarks
See Model building conventions for more information.
Constructors
RelationalModelConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies) |
Creates a new instance of RelationalModelConvention. |
Properties
Dependencies |
Dependencies for this service. |
RelationalDependencies |
Relational provider-specific dependencies for this service. |
Methods
ProcessModelFinalized(IModel) |
Called after a model is finalized and can no longer be mutated. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework