NotMappedMemberAttributeConvention Classe

Definizione

Convenzione che ignora i membri nei tipi di entità con NotMappedAttribute.

public class NotMappedMemberAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention
public class NotMappedMemberAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention
type NotMappedMemberAttributeConvention = class
    interface IEntityTypeAddedConvention
    interface IConvention
type NotMappedMemberAttributeConvention = class
    interface IEntityTypeAddedConvention
    interface IConvention
    interface IComplexPropertyAddedConvention
Public Class NotMappedMemberAttributeConvention
Implements IEntityTypeAddedConvention
Public Class NotMappedMemberAttributeConvention
Implements IComplexPropertyAddedConvention, IEntityTypeAddedConvention
Ereditarietà
NotMappedMemberAttributeConvention
Implementazioni

Commenti

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

Costruttori

Nome Descrizione
NotMappedMemberAttributeConvention(ProviderConventionSetBuilderDependencies)

Crea una nuova istanza di NotMappedMemberAttributeConvention.

Proprietà

Nome Descrizione
Dependencies

Dipendenze per questo servizio.

Metodi

Nome Descrizione
ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)

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

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

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

ShouldIgnore(MemberInfo)

Restituisce un valore che indica se il membro CLR specificato deve essere ignorato.

Si applica a