TypeNameForeignKeyDiscoveryConvention 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 are a combination of the principal type name and the principal type primary key property name(s).
public class TypeNameForeignKeyDiscoveryConvention : System.Data.Entity.ModelConfiguration.Conventions.ForeignKeyDiscoveryConvention
type TypeNameForeignKeyDiscoveryConvention = class
inherit ForeignKeyDiscoveryConvention
Public Class TypeNameForeignKeyDiscoveryConvention
Inherits ForeignKeyDiscoveryConvention
- Inheritance
- Inheritance
-
TypeNameForeignKeyDiscoveryConvention
Constructors
TypeNameForeignKeyDiscoveryConvention() |
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for