Compartilhar via


InversePropertyAttributeConvention.ProcessEntityTypeIgnored Método

Definição

Chamado para cada propriedade de navegação que tem um atributo depois que um tipo de entidade é ignorado.

public override void ProcessEntityTypeIgnored (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, Type type, System.Reflection.MemberInfo navigationMemberInfo, Type targetClrType, System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> context);
override this.ProcessEntityTypeIgnored : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Type * System.Reflection.MemberInfo * Type * System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> -> unit
Public Overrides Sub ProcessEntityTypeIgnored (modelBuilder As IConventionModelBuilder, type As Type, navigationMemberInfo As MemberInfo, targetClrType As Type, attribute As InversePropertyAttribute, context As IConventionContext(Of String))

Parâmetros

modelBuilder
IConventionModelBuilder

O construtor do modelo.

type
Type

O tipo de entidade ignorado.

navigationMemberInfo
MemberInfo

As informações do membro de navegação.

targetClrType
Type

O tipo CLR do tipo de entidade de destino.

attribute
InversePropertyAttribute

O atributo.

context
IConventionContext<String>

Informações adicionais associadas à execução da convenção.

Aplica-se a