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

包含此服务的关系依赖项的参数对象。

适用于