共用方式為


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

屬性值

屬性

適用於