InversePropertyAttributeConvention.ProcessEntityTypeIgnored Метод

Определение

Вызывается для каждого свойства навигации, имеющего атрибут после игнорирования типа сущности.

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))

Параметры

modelBuilder
IConventionModelBuilder

Построитель для модели.

type
Type

Игнорируемый тип сущности.

navigationMemberInfo
MemberInfo

Сведения об элементе навигации.

targetClrType
Type

Тип СРЕДЫ CLR типа целевой сущности.

attribute
InversePropertyAttribute

Атрибут.

context
IConventionContext<String>

Дополнительные сведения, связанные с выполнением соглашения.

Применяется к