Freigeben über


NotMappedTypeAttributeConvention Klasse

Definition

Eine Konvention, die Entitätstypen ignoriert, die über verfügen NotMappedAttribute.

public class NotMappedTypeAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.TypeAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute>
type NotMappedTypeAttributeConvention = class
    inherit TypeAttributeConventionBase<NotMappedAttribute>
Public Class NotMappedTypeAttributeConvention
Inherits TypeAttributeConventionBase(Of NotMappedAttribute)
Vererbung
NotMappedTypeAttributeConvention

Hinweise

Weitere Informationen und Beispiele finden Sie unter Modellerstellungskonventionen .

Konstruktoren

NotMappedTypeAttributeConvention(ProviderConventionSetBuilderDependencies)

Erstellt eine neue Instanz von NotMappedTypeAttributeConvention.

Eigenschaften

Dependencies

Abhängigkeiten für diesen Dienst.

(Geerbt von TypeAttributeConventionBase<TAttribute>)

Methoden

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

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

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

Wird aufgerufen, nachdem ein komplexer Typ dem Modell hinzugefügt wurde, wenn er ü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, NotMappedAttribute, IConventionContext<IConventionEntityTypeBuilder>)

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

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: