共用方式為


ModelValidator(ModelValidatorDependencies) 建構函式

定義

建立 ModelValidator 的新執行個體。

public ModelValidator (Microsoft.EntityFrameworkCore.Infrastructure.ModelValidatorDependencies dependencies);
new Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator : Microsoft.EntityFrameworkCore.Infrastructure.ModelValidatorDependencies -> Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator
Public Sub New (dependencies As ModelValidatorDependencies)

參數

dependencies
ModelValidatorDependencies

包含此服務相依性的參數物件。

適用於