Share via


NavigationPropertyNameForeignKeyDiscoveryConvention Class

Definition

Convention to discover foreign key properties whose names are a combination of the dependent navigation property name and the principal type primary key property name(s).

public class NavigationPropertyNameForeignKeyDiscoveryConvention : System.Data.Entity.ModelConfiguration.Conventions.ForeignKeyDiscoveryConvention
type NavigationPropertyNameForeignKeyDiscoveryConvention = class
    inherit ForeignKeyDiscoveryConvention
Public Class NavigationPropertyNameForeignKeyDiscoveryConvention
Inherits ForeignKeyDiscoveryConvention
Inheritance
NavigationPropertyNameForeignKeyDiscoveryConvention
Inheritance
NavigationPropertyNameForeignKeyDiscoveryConvention

Constructors

NavigationPropertyNameForeignKeyDiscoveryConvention()

Properties

SupportsMultipleAssociations

Returns true if the convention supports pairs of entity types that have multiple associations defined between them.

SupportsMultipleAssociations

Returns true if the convention supports pairs of entity types that have multiple associations defined between them.

(Inherited from ForeignKeyDiscoveryConvention)

Methods

Apply(AssociationType, DbModel)

Applies this convention to an item in the model.

(Inherited from ForeignKeyDiscoveryConvention)
MatchDependentKeyProperty(AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty)

When overriden returns true if dependentProperty should be part of the foreign key.

MatchDependentKeyProperty(AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty)

When overriden returns true if dependentProperty should be part of the foreign key.

(Inherited from ForeignKeyDiscoveryConvention)

Applies to