PrimaryKeyNameForeignKeyDiscoveryConvention.MatchDependentKeyProperty Method (AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty)
Matches the dependent key property associated with the convention.
Assembly: EntityFramework (in EntityFramework.dll)
protected override bool MatchDependentKeyProperty( AssociationType associationType, AssociationEndMember dependentAssociationEnd, EdmProperty dependentProperty, EntityType principalEntityType, EdmProperty principalKeyProperty )
Parameters
- associationType
-
Type:
System.Data.Entity.Core.Metadata.Edm.AssociationType
The association type.
- dependentAssociationEnd
-
Type:
System.Data.Entity.Core.Metadata.Edm.AssociationEndMember
The dependent association end.
- dependentProperty
-
Type:
System.Data.Entity.Core.Metadata.Edm.EdmProperty
The dependent property.
- principalEntityType
-
Type:
System.Data.Entity.Core.Metadata.Edm.EntityType
The principal entity type.
- principalKeyProperty
-
Type:
System.Data.Entity.Core.Metadata.Edm.EdmProperty
The principal key property.