Partager via


RelationshipDiscoveryConvention Constructors

Definition

Overloads

RelationshipDiscoveryConvention(ProviderConventionSetBuilderDependencies)

Creates a new instance of RelationshipDiscoveryConvention.

RelationshipDiscoveryConvention(ProviderConventionSetBuilderDependencies, Boolean)

Creates a new instance of RelationshipDiscoveryConvention.

RelationshipDiscoveryConvention(ProviderConventionSetBuilderDependencies)

Source:
RelationshipDiscoveryConvention.cs
Source:
RelationshipDiscoveryConvention.cs
Source:
RelationshipDiscoveryConvention.cs
Source:
RelationshipDiscoveryConvention.cs
Source:
RelationshipDiscoveryConvention.cs
Source:
RelationshipDiscoveryConvention.cs

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)

Source:
RelationshipDiscoveryConvention.cs

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