ValidatingConvention Class
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
See Model building conventions for more information.
Validating |
Creates a new instance of ValidatingConvention. |
Dependencies |
Dependencies for this service. |
Process |
Called after a model is finalized. |
Process |
Called after a model is finalized and can no longer be mutated. |
Продукт | Версии (остаряло) |
---|---|
Entity Framework Core | 3.0, 3.1, 5.0 (6.0) |
Обратна връзка за Entity Framework
Entity Framework е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: