Sdílet prostřednictvím


NavigationAttributeConventionBase<TAttribute>.ProcessEntityTypeIgnored Metoda

Definice

Přetížení

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

Volá se po ignorování typu entity.

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

Volá se pro každou navigační vlastnost, která má atribut po ignorování typu entity.

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

Volá se po ignorování typu entity.

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

Parametry

modelBuilder
IConventionModelBuilder

Tvůrce modelu.

name
String

Název ignorovaného typu entity.

type
Type

Ignorovaný typ entity.

context
IConventionContext<String>

Další informace související s prováděním konvencí

Implementuje

Platí pro

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

Volá se pro každou navigační vlastnost, která má atribut po ignorování typu entity.

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

Parametry

modelBuilder
IConventionModelBuilder

Tvůrce modelu.

type
Type

Ignorovaný typ entity.

navigationMemberInfo
MemberInfo

Informace o členech navigace.

targetClrType
Type

Typ CLR cílové entity.

attribute
TAttribute

Atribut

context
IConventionContext<String>

Další informace související s prováděním konvencí

Platí pro