다음을 통해 공유


InversePropertyAttributeConvention.ProcessEntityTypeAdded 메서드

정의

엔터티 형식이 모델에 추가된 후 특성이 있는 모든 탐색 속성에 대해 호출됩니다.

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

매개 변수

entityTypeBuilder
IConventionEntityTypeBuilder

엔터티 형식에 대한 작성기입니다.

navigationMemberInfo
MemberInfo

탐색 멤버 정보입니다.

targetClrType
Type

대상 엔터티 형식의 CLR 형식

attribute
InversePropertyAttribute

특성입니다.

context
IConventionContext<IConventionEntityTypeBuilder>

규칙 실행과 관련된 추가 정보입니다.

적용 대상