Freigeben über


NavigationAttributeConventionBase<TAttribute>.ProcessEntityTypeIgnored Methode

Definition

Überlädt

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

Wird aufgerufen, nachdem ein Entitätstyp ignoriert wurde.

ProcessEntityTypeIgnored(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.

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

Wird aufgerufen, nachdem ein Entitätstyp ignoriert wurde.

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

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.

Implementiert

Gilt für:

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

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: