NavigationPropertyNameForeignKeyDiscoveryConvention.MatchDependentKeyProperty Method (AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty)
Matches the key of the dependent entity model.
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 metadata object.
- dependentAssociationEnd
-
Type:
System.Data.Entity.Core.Metadata.Edm.AssociationEndMember
The end of dependent association.
- 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.