RelationshipDiscoveryConvention 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
RelationshipDiscoveryConvention(ProviderConventionSetBuilderDependencies) |
Creates a new instance of RelationshipDiscoveryConvention. |
RelationshipDiscoveryConvention(ProviderConventionSetBuilderDependencies, Boolean) |
Creates a new instance of RelationshipDiscoveryConvention. |
RelationshipDiscoveryConvention(ProviderConventionSetBuilderDependencies)
Creates a new instance of RelationshipDiscoveryConvention.
public RelationshipDiscoveryConvention (Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies dependencies);
new Microsoft.EntityFrameworkCore.Metadata.Conventions.RelationshipDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies -> Microsoft.EntityFrameworkCore.Metadata.Conventions.RelationshipDiscoveryConvention
Public Sub New (dependencies As ProviderConventionSetBuilderDependencies)
Parameters
- dependencies
- ProviderConventionSetBuilderDependencies
Parameter object containing dependencies for this convention.
Applies to
RelationshipDiscoveryConvention(ProviderConventionSetBuilderDependencies, Boolean)
Creates a new instance of RelationshipDiscoveryConvention.
public RelationshipDiscoveryConvention (Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies dependencies, bool useAttributes = true);
new Microsoft.EntityFrameworkCore.Metadata.Conventions.RelationshipDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies * bool -> Microsoft.EntityFrameworkCore.Metadata.Conventions.RelationshipDiscoveryConvention
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
Entity Framework