Compartir a través de


OwnedAttributeConvention Clase

Definición

Convención que configura los tipos de entidad que tienen como OwnedAttribute propiedad.

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
Herencia
Implementaciones

Comentarios

Consulte Convenciones de creación de modelos para obtener más información y ejemplos.

Constructores

OwnedAttributeConvention(ProviderConventionSetBuilderDependencies)

Crea una nueva instancia de OwnedAttributeConvention.

Propiedades

Dependencies

Dependencias de este servicio.

(Heredado de TypeAttributeConventionBase<TAttribute>)

Métodos

ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

Se llama después de agregar una propiedad compleja a un objeto similar a un tipo.

(Heredado de TypeAttributeConventionBase<TAttribute>)
ProcessComplexTypeAdded(IConventionComplexTypeBuilder, OwnedAttribute, IConventionContext)

Convención que configura los tipos de entidad que tienen como OwnedAttribute propiedad.

ProcessComplexTypeAdded(IConventionComplexTypeBuilder, TAttribute, IConventionContext)

Se llama después de agregar un tipo complejo al modelo si tiene un atributo .

(Heredado de TypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

Se llama después de agregar un tipo de entidad al modelo.

(Heredado de TypeAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, OwnedAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Convención que configura los tipos de entidad que tienen como OwnedAttribute propiedad.

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Se llama después de agregar un tipo de entidad al modelo si tiene un atributo .

(Heredado de TypeAttributeConventionBase<TAttribute>)
ReplaceWithEntityType(IConventionComplexTypeBuilder, Nullable<Boolean>)

Intenta reemplazar el tipo complejo por un tipo de entidad.

(Heredado de TypeAttributeConventionBase<TAttribute>)

Se aplica a