OneToOneConstraintIntroductionConvention Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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:
Entity Framework