PrimaryKeyNameForeignKeyDiscoveryConvention Class
Convention to discover foreign key properties whose names match the principal type primary key property name(s).
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.ModelConfiguration.Conventions.ForeignKeyDiscoveryConvention
System.Data.Entity.ModelConfiguration.Conventions.PrimaryKeyNameForeignKeyDiscoveryConvention
Name | Description | |
---|---|---|
![]() | PrimaryKeyNameForeignKeyDiscoveryConvention() | Initializes a new instance of the PrimaryKeyNameForeignKeyDiscoveryConvention class. |
Name | Description | |
---|---|---|
![]() | SupportsMultipleAssociations | Gets whether the convention supports pairs of entity types that have multiple associations defined between them.(Inherited from ForeignKeyDiscoveryConvention.) |
Name | Description | |
---|---|---|
![]() | Apply(AssociationType, DbModel) | Applies this convention to a property.(Inherited from ForeignKeyDiscoveryConvention.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MatchDependentKeyProperty(AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty) | Matches the dependent key property associated with the convention.(Overrides ForeignKeyDiscoveryConvention.MatchDependentKeyProperty(AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty).) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.