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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor