语言

PropertyDiscoveryConvention 构造函数

定义

重载

PropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies)

Source:
PropertyDiscoveryConvention.cs
Source:
PropertyDiscoveryConvention.cs
Source:
PropertyDiscoveryConvention.cs
Source:
PropertyDiscoveryConvention.cs
Source:
PropertyDiscoveryConvention.cs
Source:
PropertyDiscoveryConvention.cs

创建 PropertyDiscoveryConvention的新实例。

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

参数

dependencies
ProviderConventionSetBuilderDependencies

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

适用于

PropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies, Boolean)

Source:
PropertyDiscoveryConvention.cs
Source:
PropertyDiscoveryConvention.cs
Source:
PropertyDiscoveryConvention.cs

创建 PropertyDiscoveryConvention的新实例。

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

参数

dependencies
ProviderConventionSetBuilderDependencies

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

useAttributes
Boolean

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

适用于