InversePropertyAttributeConvention.ProcessEntityTypeAdded(IConventionEntityTypeBuilder, MemberInfo, Type, InversePropertyAttribute, IConventionContext<IConventionEntityTypeBuilder>) Yöntem

Tanım

Modele bir varlık türü eklendikten sonra özniteliği olan her gezinti özelliği için çağrılır.

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

Parametreler

entityTypeBuilder
IConventionEntityTypeBuilder

Varlık türü için oluşturucu.

navigationMemberInfo
MemberInfo

Gezinti üyesi bilgileri.

targetClrType
Type

Hedef varlık türünün CLR türü

attribute
InversePropertyAttribute

Öznitelik.

context
IConventionContext<IConventionEntityTypeBuilder>

Kural yürütme ile ilişkili ek bilgiler.

Şunlara uygulanır