ValidatingConvention 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
The validation is no longer performed by a convention
A convention that checks whether the model is valid.
public class ValidatingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
[System.Obsolete("The validation is no longer performed by a convention")]
public class ValidatingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
type ValidatingConvention = class
interface IModelFinalizedConvention
interface IConvention
[<System.Obsolete("The validation is no longer performed by a convention")>]
type ValidatingConvention = class
interface IModelFinalizedConvention
interface IConvention
Public Class ValidatingConvention
Implements IModelFinalizedConvention
- Inheritance
-
ValidatingConvention
- Attributes
- Implements
Remarks
See Model building conventions for more information.
Constructors
ValidatingConvention(ProviderConventionSetBuilderDependencies) |
Creates a new instance of ValidatingConvention. |
Properties
Dependencies |
Dependencies for this service. |
Methods
ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>) |
Called after a model is finalized. |
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