PropertyDiscoveryConvention Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
PropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies) |
Creates a new instance of PropertyDiscoveryConvention. |
PropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies, Boolean) |
Creates a new instance of PropertyDiscoveryConvention. |
PropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies)
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)
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.