DatabaseProviderServices.ModelValidator Property
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.
Gets the Microsoft.EntityFrameworkCore.Internal.IModelValidator for the database provider. By default, EF will register a default implementation (Microsoft.EntityFrameworkCore.Internal.LoggingModelValidator) which provides basic functionality but can be overridden if needed.
public virtual Microsoft.EntityFrameworkCore.Internal.IModelValidator ModelValidator { get; }
member this.ModelValidator : Microsoft.EntityFrameworkCore.Internal.IModelValidator
Public Overridable ReadOnly Property ModelValidator As IModelValidator
Property Value
Microsoft.EntityFrameworkCore.Internal.IModelValidator
Implements
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