ProviderConventionSetBuilderDependencies.ModelValidator 属性

定义

注意

The validation is no longer performed by a convention

模型验证程序。

public Microsoft.EntityFrameworkCore.Infrastructure.IModelValidator ModelValidator { get; }
[System.Obsolete("The validation is no longer performed by a convention")]
public Microsoft.EntityFrameworkCore.Infrastructure.IModelValidator ModelValidator { get; init; }
member this.ModelValidator : Microsoft.EntityFrameworkCore.Infrastructure.IModelValidator
[<System.Obsolete("The validation is no longer performed by a convention")>]
member this.ModelValidator : Microsoft.EntityFrameworkCore.Infrastructure.IModelValidator with get, set
Public ReadOnly Property ModelValidator As IModelValidator
Public Property ModelValidator As IModelValidator

属性值

属性

适用于