Bagikan melalui


InversePropertyAttributeConvention.ProcessEntityTypeIgnored Metode

Definisi

Dipanggil untuk setiap properti navigasi yang memiliki atribut setelah jenis entitas diabaikan.

public override void ProcessEntityTypeIgnored (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, Type type, System.Reflection.MemberInfo navigationMemberInfo, Type targetClrType, System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> context);
override this.ProcessEntityTypeIgnored : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Type * System.Reflection.MemberInfo * Type * System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> -> unit
Public Overrides Sub ProcessEntityTypeIgnored (modelBuilder As IConventionModelBuilder, type As Type, navigationMemberInfo As MemberInfo, targetClrType As Type, attribute As InversePropertyAttribute, context As IConventionContext(Of String))

Parameter

modelBuilder
IConventionModelBuilder

Penyusun untuk model.

type
Type

Jenis entitas yang diabaikan.

navigationMemberInfo
MemberInfo

Info anggota navigasi.

targetClrType
Type

Jenis CLR dari jenis entitas target.

attribute
InversePropertyAttribute

Atribut .

context
IConventionContext<String>

Informasi tambahan yang terkait dengan eksekusi konvensi.

Berlaku untuk