Sprache

OwnedAttributeConvention Klasse

Definition

Eine Konvention, die die Entitätstypen konfiguriert, die im OwnedAttribute Besitz sind.

[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })]
public class OwnedAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.TypeAttributeConventionBase<Microsoft.EntityFrameworkCore.OwnedAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })>]
type OwnedAttributeConvention = class
    inherit TypeAttributeConventionBase<OwnedAttribute>
    interface IComplexPropertyAddedConvention
    interface IConvention
Public Class OwnedAttributeConvention
Inherits TypeAttributeConventionBase(Of OwnedAttribute)
Implements IComplexPropertyAddedConvention
Vererbung
Attribute
Implementiert

Hinweise

Weitere Informationen und Beispiele finden Sie unter Modellbaukonventionen .

Konstruktoren

Name Beschreibung
OwnedAttributeConvention(ProviderConventionSetBuilderDependencies)

Erstellt eine neue Instanz von OwnedAttributeConvention.

Eigenschaften

Name Beschreibung
Dependencies

Abhängigkeiten für diesen Dienst.

(Geerbt von TypeAttributeConventionBase<TAttribute>)

Methoden

Name Beschreibung
ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

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

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

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

ProcessComplexTypeAdded(IConventionComplexTypeBuilder, TAttribute, IConventionContext)

Wird aufgerufen, nachdem dem Modell ein komplexer Typ 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, OwnedAttribute, IConventionContext<IConventionEntityTypeBuilder>)

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

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Wird aufgerufen, nachdem dem Modell ein Entitätstyp hinzugefügt wurde, wenn er ü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: