Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PrimaryKeyNameForeignKeyDiscoveryConvention Class
Collapse the table of content
Expand the table of content

PrimaryKeyNameForeignKeyDiscoveryConvention Class


Convention to discover foreign key properties whose names match the principal type primary key property name(s).

Namespace:   System.Data.Entity.ModelConfiguration.Conventions
Assembly:  EntityFramework (in EntityFramework.dll)


No code example is currently available or this language may not be supported.


Initializes a new instance of the PrimaryKeyNameForeignKeyDiscoveryConvention class.


Gets whether the convention supports pairs of entity types that have multiple associations defined between them.(Inherited from ForeignKeyDiscoveryConvention.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
© 2015 Microsoft