Lingua

NotMappedMemberAttributeConvention Classe

Definizione

Convenzione che ignora i membri sui tipi di entità con .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
Ereditarietà
NotMappedMemberAttributeConvention
Attributi
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 di 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