共用方式為


NavigationAttributeConventionBase<TAttribute>.ProcessEntityTypeIgnored 方法

定義

多載

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

忽略實體類型之後呼叫。

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

忽略實體類型之後,針對具有屬性的每個導覽屬性呼叫。

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

忽略實體類型之後呼叫。

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

參數

modelBuilder
IConventionModelBuilder

模型的產生器。

name
String

忽略實體類型的名稱。

type
Type

忽略的實體類型。

context
IConventionContext<String>

與慣例執行相關聯的其他資訊。

實作

適用於

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

忽略實體類型之後,針對具有屬性的每個導覽屬性呼叫。

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

參數

modelBuilder
IConventionModelBuilder

模型的產生器。

type
Type

忽略的實體類型。

navigationMemberInfo
MemberInfo

導覽成員資訊。

targetClrType
Type

目標實體類型的 CLR 類型。

attribute
TAttribute

屬性。

context
IConventionContext<String>

與慣例執行相關聯的其他資訊。

適用於