Share via


ForeignKeyAssociationMultiplicityConvention Class

Definition

Convention to distinguish between optional and required relationships based on CLR nullability of the foreign key property.

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

Constructors

ForeignKeyAssociationMultiplicityConvention()

Methods

Apply(AssociationType, DbModel)

Applies this convention to an item in the model.

Applies to