NavigationPropertyNameForeignKeyDiscoveryConvention Class
Convention to discover foreign key properties whose names are a combination of the dependent navigation property name and the principal type primary key property name(s).
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.ModelConfiguration.Conventions.ForeignKeyDiscoveryConvention
System.Data.Entity.ModelConfiguration.Conventions.NavigationPropertyNameForeignKeyDiscoveryConvention
Name | Description | |
---|---|---|
![]() | NavigationPropertyNameForeignKeyDiscoveryConvention() | Initializes a new instance of the NavigationPropertyNameForeignKeyDiscoveryConvention class. |
Name | Description | |
---|---|---|
![]() | SupportsMultipleAssociations | Gets or sets a value that indicates whether the convention supports multiple associations.(Overrides ForeignKeyDiscoveryConvention.SupportsMultipleAssociations.) |
Name | Description | |
---|---|---|
![]() | Apply(AssociationType, DbModel) | Applies this convention to a property.(Inherited from ForeignKeyDiscoveryConvention.) |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MatchDependentKeyProperty(AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty) | Matches the key of the dependent entity model.(Overrides ForeignKeyDiscoveryConvention.MatchDependentKeyProperty(AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty).) |
![]() | 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.