Udostępnij przez


OneToOneConstraintIntroductionConvention Klasa

Definicja

Konwencja konfigurowania kluczy podstawowych typu jednostki zależnej jako kluczy obcych w relacji jeden:jeden.

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)
Dziedziczenie
OneToOneConstraintIntroductionConvention
Implementuje

Konstruktory

OneToOneConstraintIntroductionConvention()

Konwencja konfigurowania kluczy podstawowych typu jednostki zależnej jako kluczy obcych w relacji jeden:jeden.

Metody

Apply(AssociationType, DbModel)

Stosuje tę konwencję do elementu w modelu.

Dotyczy