共用方式為


PropertyDiscoveryConvention Constructors

Definition

Overloads

PropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies)

Creates a new instance of PropertyDiscoveryConvention.

PropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies, Boolean)

Creates a new instance of PropertyDiscoveryConvention.

PropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies)

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

Creates a new instance of 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)

Parameters

dependencies
ProviderConventionSetBuilderDependencies

Parameter object containing dependencies for this convention.

Applies to

PropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies, Boolean)

Source:
PropertyDiscoveryConvention.cs

Creates a new instance of 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)

Parameters

dependencies
ProviderConventionSetBuilderDependencies

Parameter object containing dependencies for this convention.

useAttributes
Boolean

Whether the convention will use attributes found on the members.

Applies to