语言

ComplexPropertyDiscoveryConvention 构造函数

定义

重载

ComplexPropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies)

Source:
ComplexPropertyDiscoveryConvention.cs

创建 ComplexPropertyDiscoveryConvention的新实例。

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

参数

dependencies
ProviderConventionSetBuilderDependencies

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

适用于

ComplexPropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies, Boolean)

Source:
ComplexPropertyDiscoveryConvention.cs
Source:
ComplexPropertyDiscoveryConvention.cs
Source:
ComplexPropertyDiscoveryConvention.cs

创建 ComplexPropertyDiscoveryConvention的新实例。

public ComplexPropertyDiscoveryConvention(Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies dependencies, bool useAttributes = true);
new Microsoft.EntityFrameworkCore.Metadata.Conventions.ComplexPropertyDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies * bool -> Microsoft.EntityFrameworkCore.Metadata.Conventions.ComplexPropertyDiscoveryConvention
Public Sub New (dependencies As ProviderConventionSetBuilderDependencies, Optional useAttributes As Boolean = true)

参数

dependencies
ProviderConventionSetBuilderDependencies

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

useAttributes
Boolean

约定是否使用在成员上找到的属性。

适用于