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

type PrimaryKeyNameForeignKeyDiscoveryConvention = 
    class
        inherit ForeignKeyDiscoveryConvention
    end

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: