Sprache

ComplexPropertyDiscoveryConvention Klasse

Definition

Eine Konvention, die komplexe Eigenschaften für Strukturtypen konfiguriert, solange der Typ zuvor als komplexer Typ konfiguriert wurde oder der deklarierende Typ ein komplexer Typ ist.

[System.Runtime.CompilerServices.Nullable(0)]
public class ComplexPropertyDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeMemberIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationRemovedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type ComplexPropertyDiscoveryConvention = class
    interface IEntityTypeAddedConvention
    interface IConvention
    interface IEntityTypeBaseTypeChangedConvention
    interface IEntityTypeMemberIgnoredConvention
    interface IComplexPropertyAddedConvention
    interface INavigationRemovedConvention
    interface INavigationAddedConvention
    interface IPropertyRemovedConvention
    interface IPropertyAddedConvention
    interface ISkipNavigationRemovedConvention
    interface ISkipNavigationAddedConvention
    interface IModelFinalizingConvention
Public Class ComplexPropertyDiscoveryConvention
Implements IComplexPropertyAddedConvention, IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention, IEntityTypeMemberIgnoredConvention, IModelFinalizingConvention, INavigationAddedConvention, INavigationRemovedConvention, IPropertyAddedConvention, IPropertyRemovedConvention, ISkipNavigationAddedConvention, ISkipNavigationRemovedConvention
Vererbung
ComplexPropertyDiscoveryConvention
Attribute
Implementiert

Hinweise

Weitere Informationen und Beispiele finden Sie unter Modellbaukonventionen .

Konstruktoren

Name Beschreibung
ComplexPropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies, Boolean)

Erstellt eine neue Instanz von ComplexPropertyDiscoveryConvention.

ComplexPropertyDiscoveryConvention(ProviderConventionSetBuilderDependencies)

Erstellt eine neue Instanz von ComplexPropertyDiscoveryConvention.

Eigenschaften

Name Beschreibung
Dependencies

Abhängigkeiten für diesen Dienst.

UseAttributes

Ein Wert, der angibt, ob die Konvention Attribute verwendet, die für die Member gefunden werden.

Methoden

Name Beschreibung
DiscoverComplexProperties(IConventionTypeBaseBuilder, IConventionContext)

Ermittelt komplexe Eigenschaften für den angegebenen Strukturtyp.

GetMembers(IConventionTypeBase)

Gibt die CLR-Elemente aus dem angegebenen Typ zurück, der beim Ermitteln von Eigenschaften berücksichtigt werden soll.

IsCandidateComplexProperty(MemberInfo, IConventionTypeBase, Type, Boolean)

Gibt einen Wert zurück, der angibt, ob das angegebene Element ein komplexer Eigenschaftskandidat ist.

IsCandidateComplexProperty(MemberInfo, IConventionTypeBase, Type)

Gibt einen Wert zurück, der angibt, ob das angegebene Element ein komplexer Eigenschaftskandidat ist.

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

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

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

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

ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, IConventionContext<IConventionEntityType>)

Wird aufgerufen, nachdem sich der Basistyp eines Entitätstyps geändert hat.

ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, String, IConventionContext<String>)

Wird aufgerufen, nachdem ein Entitätstypelement ignoriert wurde.

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Wird aufgerufen, wenn ein Modell abgeschlossen wird.

ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)

Wird aufgerufen, nachdem dem Entitätstyp eine Navigation hinzugefügt wurde.

ProcessNavigationRemoved(IConventionEntityTypeBuilder, IConventionEntityTypeBuilder, String, MemberInfo, IConventionContext<String>)

Wird aufgerufen, nachdem eine Navigation aus dem Entitätstyp entfernt wurde.

ProcessPropertyAdded(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

Wird aufgerufen, nachdem eine Eigenschaft dem Entitätstyp hinzugefügt wurde.

ProcessPropertyRemoved(IConventionTypeBaseBuilder, IConventionProperty, IConventionContext<IConventionProperty>)

Wird aufgerufen, nachdem eine Eigenschaft aus dem Entitätstyp entfernt wurde.

ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, IConventionContext<IConventionSkipNavigationBuilder>)

Wird aufgerufen, nachdem der Entitätstyp eine Übersprungnavigation hinzugefügt wurde.

ProcessSkipNavigationRemoved(IConventionEntityTypeBuilder, IConventionSkipNavigation, IConventionContext<IConventionSkipNavigation>)

Wird aufgerufen, nachdem eine Übersprungnavigation aus dem Entitätstyp entfernt wurde.

Gilt für: