RequiredNavigationAttributeConvention 构造函数

定义

创建 RequiredNavigationAttributeConvention 的新实例。

public RequiredNavigationAttributeConvention (Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies dependencies);
new Microsoft.EntityFrameworkCore.Metadata.Conventions.RequiredNavigationAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies -> Microsoft.EntityFrameworkCore.Metadata.Conventions.RequiredNavigationAttributeConvention
Public Sub New (dependencies As ProviderConventionSetBuilderDependencies)

参数

dependencies
ProviderConventionSetBuilderDependencies

包含此约定依赖项的参数对象。

适用于