共用方式為


RelationalModelValidator 建構函式

定義

建立 RelationalModelValidator 的新執行個體。

public RelationalModelValidator (Microsoft.EntityFrameworkCore.Infrastructure.ModelValidatorDependencies dependencies, Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidatorDependencies relationalDependencies);
new Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator : Microsoft.EntityFrameworkCore.Infrastructure.ModelValidatorDependencies * Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidatorDependencies -> Microsoft.EntityFrameworkCore.Infrastructure.RelationalModelValidator
Public Sub New (dependencies As ModelValidatorDependencies, relationalDependencies As RelationalModelValidatorDependencies)

參數

dependencies
ModelValidatorDependencies

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

relationalDependencies
RelationalModelValidatorDependencies

參數物件,其中包含此服務的關聯式相依性。

適用於