ForeignKeyDiscoveryConvention Class
Represents a base class for conventions that discover foreign key properties.
Assembly: EntityFramework (in EntityFramework.dll)
System.Object
System.Data.Entity.ModelConfiguration.Conventions.ForeignKeyDiscoveryConvention
System.Data.Entity.ModelConfiguration.Conventions.NavigationPropertyNameForeignKeyDiscoveryConvention
System.Data.Entity.ModelConfiguration.Conventions.PrimaryKeyNameForeignKeyDiscoveryConvention
System.Data.Entity.ModelConfiguration.Conventions.TypeNameForeignKeyDiscoveryConvention
System.Data.Entity.ModelConfiguration.Conventions.ForeignKeyDiscoveryConvention
System.Data.Entity.ModelConfiguration.Conventions.NavigationPropertyNameForeignKeyDiscoveryConvention
System.Data.Entity.ModelConfiguration.Conventions.PrimaryKeyNameForeignKeyDiscoveryConvention
System.Data.Entity.ModelConfiguration.Conventions.TypeNameForeignKeyDiscoveryConvention
Name | Description | |
---|---|---|
![]() | ForeignKeyDiscoveryConvention() | Initializes a new instance of the ForeignKeyDiscoveryConvention class. |
Name | Description | |
---|---|---|
![]() | SupportsMultipleAssociations | Gets whether the convention supports pairs of entity types that have multiple associations defined between them. |
Name | Description | |
---|---|---|
![]() | Apply(AssociationType, DbModel) | Applies this convention to a property. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MatchDependentKeyProperty(AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty) | When overriden returns true if dependentProperty should be part of the foreign key. |
![]() | 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.