PrimaryKeyNameForeignKeyDiscoveryConvention Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Convention to discover foreign key properties whose names match the principal type primary key property name(s).
public class PrimaryKeyNameForeignKeyDiscoveryConvention : System.Data.Entity.ModelConfiguration.Conventions.ForeignKeyDiscoveryConvention
type PrimaryKeyNameForeignKeyDiscoveryConvention = class
inherit ForeignKeyDiscoveryConvention
Public Class PrimaryKeyNameForeignKeyDiscoveryConvention
Inherits ForeignKeyDiscoveryConvention
- Inheritance
- Inheritance
-
PrimaryKeyNameForeignKeyDiscoveryConvention
Constructors
PrimaryKeyNameForeignKeyDiscoveryConvention() |
Properties
SupportsMultipleAssociations |
Returns |
Methods
Apply(AssociationType, DbModel) |
Applies this convention to an item in the model. (Inherited from ForeignKeyDiscoveryConvention) |
MatchDependentKeyProperty(AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty) |
When overriden returns |
MatchDependentKeyProperty(AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty) |
When overriden returns |
Applies to
Entity Framework