Condividi tramite


OwnedAttributeConvention Classe

Definizione

Convenzione che configura i tipi di entità con proprietà 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
Ereditarietà
Implementazioni

Commenti

Per altre informazioni ed esempi, vedere Convenzioni di compilazione di modelli.

Costruttori

OwnedAttributeConvention(ProviderConventionSetBuilderDependencies)

Crea una nuova istanza di OwnedAttributeConvention.

Proprietà

Dependencies

Dipendenze per questo servizio.

(Ereditato da TypeAttributeConventionBase<TAttribute>)

Metodi

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

Chiamato dopo l'aggiunta di una proprietà complessa a un oggetto simile al tipo.

(Ereditato da TypeAttributeConventionBase<TAttribute>)
ProcessComplexTypeAdded(IConventionComplexTypeBuilder, OwnedAttribute, IConventionContext)

Convenzione che configura i tipi di entità con proprietà OwnedAttribute .

ProcessComplexTypeAdded(IConventionComplexTypeBuilder, TAttribute, IConventionContext)

Chiamato dopo l'aggiunta di un tipo complesso al modello se ha un attributo.

(Ereditato da TypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

Chiamato dopo l'aggiunta di un tipo di entità al modello.

(Ereditato da TypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, OwnedAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Convenzione che configura i tipi di entità con proprietà OwnedAttribute .

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Chiamato dopo l'aggiunta di un tipo di entità al modello se ha un attributo.

(Ereditato da TypeAttributeConventionBase<TAttribute>)
ReplaceWithEntityType(IConventionComplexTypeBuilder, Nullable<Boolean>)

Tenta di sostituire il tipo complesso con un tipo di entità.

(Ereditato da TypeAttributeConventionBase<TAttribute>)

Si applica a