Freigeben über


OwnedAttributeConvention Klasse

Definition

Eine Konvention, die die Entitätstypen konfiguriert, die sich im Besitz von befinden OwnedAttribute .

public class OwnedAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.TypeAttributeConventionBase<Microsoft.EntityFrameworkCore.OwnedAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention
type OwnedAttributeConvention = class
    inherit TypeAttributeConventionBase<OwnedAttribute>
    interface IComplexPropertyAddedConvention
    interface IConvention
Public Class OwnedAttributeConvention
Inherits TypeAttributeConventionBase(Of OwnedAttribute)
Implements IComplexPropertyAddedConvention
Vererbung
Implementiert

Hinweise

Weitere Informationen und Beispiele finden Sie unter Modellerstellungskonventionen .

Konstruktoren

OwnedAttributeConvention(ProviderConventionSetBuilderDependencies)

Erstellt eine neue Instanz von OwnedAttributeConvention.

Eigenschaften

Dependencies

Abhängigkeiten für diesen Dienst.

(Geerbt von TypeAttributeConventionBase<TAttribute>)

Methoden

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

Wird aufgerufen, nachdem eine komplexe Eigenschaft zu einem typähnlichen Objekt hinzugefügt wurde.

(Geerbt von TypeAttributeConventionBase<TAttribute>)
ProcessComplexTypeAdded(IConventionComplexTypeBuilder, OwnedAttribute, IConventionContext)

Eine Konvention, die die Entitätstypen konfiguriert, die sich im Besitz von befinden OwnedAttribute .

ProcessComplexTypeAdded(IConventionComplexTypeBuilder, TAttribute, IConventionContext)

Wird aufgerufen, nachdem ein komplexer Typ dem Modell hinzugefügt wurde, wenn es über ein -Attribut verfügt.

(Geerbt von TypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

Wird aufgerufen, nachdem dem Modell ein Entitätstyp hinzugefügt wurde.

(Geerbt von TypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, OwnedAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Eine Konvention, die die Entitätstypen konfiguriert, die sich im Besitz von befinden OwnedAttribute .

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Wird aufgerufen, nachdem ein Entitätstyp dem Modell hinzugefügt wurde, wenn es über ein Attribut verfügt.

(Geerbt von TypeAttributeConventionBase<TAttribute>)
ReplaceWithEntityType(IConventionComplexTypeBuilder, Nullable<Boolean>)

Versucht, den komplexen Typ durch einen Entitätstyp zu ersetzen.

(Geerbt von TypeAttributeConventionBase<TAttribute>)

Gilt für: