NavigationAttributeConventionBase<TAttribute>.ProcessTypeIgnored Метод

Определение

Перегрузки

ProcessTypeIgnored(IConventionModelBuilder, String, Type, IConventionContext<String>)

Вызывается после того, как тип сущности игнорируется.

ProcessTypeIgnored(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<String>)

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

ProcessTypeIgnored(IConventionModelBuilder, String, Type, IConventionContext<String>)

Вызывается после того, как тип сущности игнорируется.

public virtual void ProcessTypeIgnored (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, string name, Type? type, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> context);
abstract member ProcessTypeIgnored : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * string * Type * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> -> unit
override this.ProcessTypeIgnored : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * string * Type * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> -> unit
Public Overridable Sub ProcessTypeIgnored (modelBuilder As IConventionModelBuilder, name As String, type As Type, context As IConventionContext(Of String))

Параметры

modelBuilder
IConventionModelBuilder

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

name
String

Имя игнорируемого типа сущности.

type
Type

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

context
IConventionContext<String>

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

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

ProcessTypeIgnored(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<String>)

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

public virtual void ProcessTypeIgnored (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, Type type, System.Reflection.MemberInfo navigationMemberInfo, Type targetClrType, TAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> context);
abstract member ProcessTypeIgnored : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Type * System.Reflection.MemberInfo * Type * 'Attribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> -> unit
override this.ProcessTypeIgnored : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Type * System.Reflection.MemberInfo * Type * 'Attribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> -> unit
Public Overridable Sub ProcessTypeIgnored (modelBuilder As IConventionModelBuilder, type As Type, navigationMemberInfo As MemberInfo, targetClrType As Type, attribute As TAttribute, context As IConventionContext(Of String))

Параметры

modelBuilder
IConventionModelBuilder

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

type
Type

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

navigationMemberInfo
MemberInfo

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

targetClrType
Type

Тип среды CLR целевого типа сущности.

attribute
TAttribute

Атрибут.

context
IConventionContext<String>

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

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