NotMappedMemberAttributeConvention Classe
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Uma convenção que ignora os membros em tipos de entidade que têm o 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
- Herança
-
NotMappedMemberAttributeConvention
- Atributos
- Implementações
Comentários
Consulte as convenções de criação de modelos para obter mais informações e exemplos.
Construtores
| Nome | Descrição |
|---|---|
| NotMappedMemberAttributeConvention(ProviderConventionSetBuilderDependencies) |
Cria uma nova instância de NotMappedMemberAttributeConvention. |
Propriedades
| Nome | Descrição |
|---|---|
| Dependencies |
Dependências para esse serviço. |
Métodos
| Nome | Descrição |
|---|---|
| ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>) |
Chamado depois que uma propriedade complexa é adicionada a um objeto semelhante a um tipo. |
| ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>) |
Chamado depois que um tipo de entidade é adicionado ao modelo. |
| ShouldIgnore(MemberInfo) |
Retorna um valor que indica se o membro CLR determinado deve ser ignorado. |