Compartir a través de


InversePropertyAttributeConvention.ProcessEntityTypeIgnored Método

Definición

Se llama a para cada propiedad de navegación que tenga un atributo después de omitir un tipo de entidad.

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

Generador del modelo.

type
Type

Tipo de entidad omitido.

navigationMemberInfo
MemberInfo

Información del miembro de navegación.

targetClrType
Type

Tipo CLR del tipo de entidad de destino.

attribute
InversePropertyAttribute

El atributo.

context
IConventionContext<String>

Información adicional asociada a la ejecución de la convención.

Se aplica a