Share via


DatabaseProviderServices.ModelValidator Property

Definition

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