TypeNameForeignKeyDiscoveryConvention Class

 

Convention to discover foreign key properties whose names are a combination of the principal type name and 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.TypeNameForeignKeyDiscoveryConvention

public class TypeNameForeignKeyDiscoveryConvention : ForeignKeyDiscoveryConvention

NameDescription
System_CAPS_pubmethodTypeNameForeignKeyDiscoveryConvention()

Initializes a new instance of the TypeNameForeignKeyDiscoveryConvention 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: