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)

System.Object
  System.Data.Entity.ModelConfiguration.Conventions.ForeignKeyDiscoveryConvention
    System.Data.Entity.ModelConfiguration.Conventions.PrimaryKeyNameForeignKeyDiscoveryConvention

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

NameDescription
System_CAPS_pubmethodPrimaryKeyNameForeignKeyDiscoveryConvention()

Initializes a new instance of the PrimaryKeyNameForeignKeyDiscoveryConvention class.

NameDescription
System_CAPS_protpropertySupportsMultipleAssociations

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
Show:
© 2015 Microsoft