Lenguaje

NotMappedMemberAttributeConvention Clase

Definición

Convención que omite los miembros de los tipos de entidad que tienen .NotMappedAttribute

[System.Runtime.CompilerServices.Nullable(0)]
public class NotMappedMemberAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention
public class NotMappedMemberAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type NotMappedMemberAttributeConvention = class
    interface IEntityTypeAddedConvention
    interface IConvention
    interface IComplexPropertyAddedConvention
type NotMappedMemberAttributeConvention = class
    interface IEntityTypeAddedConvention
    interface IConvention
Public Class NotMappedMemberAttributeConvention
Implements IComplexPropertyAddedConvention, IEntityTypeAddedConvention
Public Class NotMappedMemberAttributeConvention
Implements IEntityTypeAddedConvention
Herencia
NotMappedMemberAttributeConvention
Atributos
Implementaciones

Comentarios

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

Constructores

Nombre Description
NotMappedMemberAttributeConvention(ProviderConventionSetBuilderDependencies)

Crea una nueva instancia de NotMappedMemberAttributeConvention.

Propiedades

Nombre Description
Dependencies

Dependencias de este servicio.

Métodos

Nombre Description
ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

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

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

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

ShouldIgnore(MemberInfo)

Devuelve un valor que indica si se debe omitir el miembro CLR especificado.

Se aplica a