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
| Name | Description |
|---|---|
| TypeNameForeignKeyDiscoveryConvention() | |
Properties
| Name | Description |
|---|---|
| SupportsMultipleAssociations |
Returns |
Methods
| Name | Description |
|---|---|
| Apply(AssociationType, DbModel) |
Applies this convention to an item in the model. (Inherited from ForeignKeyDiscoveryConvention) |
| MatchDependentKeyProperty(AssociationType, AssociationEndMember, EdmProperty, EntityType, EdmProperty) |
When overriden returns |