Freigeben über


NavigationAttributeConventionBase<TAttribute>.ProcessTypeIgnored Methode

Definition

Überlädt

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

Wird aufgerufen, nachdem ein Entitätstyp ignoriert wurde.

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

Wird für jede Navigationseigenschaft aufgerufen, die über ein Attribut verfügt, nachdem ein Entitätstyp ignoriert wurde.

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

Wird aufgerufen, nachdem ein Entitätstyp ignoriert wurde.

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

Parameter

modelBuilder
IConventionModelBuilder

Der Generator für das Modell.

name
String

Der Name des ignorierten Entitätstyps.

type
Type

Der ignorierte Entitätstyp.

context
IConventionContext<String>

Zusätzliche Informationen im Zusammenhang mit der Konventionsausführung.

Gilt für:

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

Wird für jede Navigationseigenschaft aufgerufen, die über ein Attribut verfügt, nachdem ein Entitätstyp ignoriert wurde.

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

Parameter

modelBuilder
IConventionModelBuilder

Der Generator für das Modell.

type
Type

Der ignorierte Entitätstyp.

navigationMemberInfo
MemberInfo

Die Navigationselementinformationen.

targetClrType
Type

Der CLR-Typ des Zielentitätstyps.

attribute
TAttribute

Das Attribut.

context
IConventionContext<String>

Zusätzliche Informationen im Zusammenhang mit der Konventionsausführung.

Gilt für: