Freigeben über


EntityTypeConfigurationAttributeConvention Klasse

Definition

Eine Konvention, die die in EntityTypeConfigurationAttributeangegebene Entitätstypkonfiguration anwendet.

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

Hinweise

Weitere Informationen und Beispiele finden Sie unter Modellerstellungskonventionen .

Konstruktoren

EntityTypeConfigurationAttributeConvention(ProviderConventionSetBuilderDependencies)

Erstellt eine neue Instanz von EntityTypeConfigurationAttributeConvention.

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, EntityTypeConfigurationAttribute, IConventionContext)

Eine Konvention, die die in EntityTypeConfigurationAttributeangegebene Entitätstypkonfiguration anwendet.

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, EntityTypeConfigurationAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Eine Konvention, die die in EntityTypeConfigurationAttributeangegebene Entitätstypkonfiguration anwendet.

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

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

(Geerbt von TypeAttributeConventionBase<TAttribute>)
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: