Freigeben über


OneToOneConstraintIntroductionConvention Klasse

Definition

Konvention zum Konfigurieren der Primärschlüssel des abhängigen Entitätstyps als Fremdschlüssel in einer 1:1-Beziehung.

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)
Vererbung
OneToOneConstraintIntroductionConvention
Implementiert

Konstruktoren

OneToOneConstraintIntroductionConvention()

Konvention zum Konfigurieren der Primärschlüssel des abhängigen Entitätstyps als Fremdschlüssel in einer 1:1-Beziehung.

Methoden

Apply(AssociationType, DbModel)

Wendet diese Konvention auf ein Element im Modell an.

Gilt für: