OneToOneConstraintIntroductionConvention Class

Definition

Convention to configure the primary key(s) of the dependent entity type as foreign key(s) in a one:one relationship.

public class OneToOneConstraintIntroductionConvention : System.Data.Entity.ModelConfiguration.Conventions.IConceptualModelConvention<System.Data.Entity.Core.Metadata.Edm.AssociationType>
type OneToOneConstraintIntroductionConvention = class
    interface IConceptualModelConvention<AssociationType>
    interface IConvention
Public Class OneToOneConstraintIntroductionConvention
Implements IConceptualModelConvention(Of AssociationType)
Inheritance
OneToOneConstraintIntroductionConvention
Implements

Constructors

OneToOneConstraintIntroductionConvention()

Methods

Apply(AssociationType, DbModel)

Applies this convention to an item in the model.

Applies to