다음을 통해 공유


ForeignKeyPropertyDiscoveryConvention.ProcessPropertyFieldChanged 메서드

정의

속성의 지원 필드가 변경된 후 호출됩니다.

public virtual void ProcessPropertyFieldChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, System.Reflection.FieldInfo newFieldInfo, System.Reflection.FieldInfo oldFieldInfo, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<System.Reflection.FieldInfo> context);
public virtual void ProcessPropertyFieldChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, System.Reflection.FieldInfo? newFieldInfo, System.Reflection.FieldInfo? oldFieldInfo, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<System.Reflection.FieldInfo> context);
abstract member ProcessPropertyFieldChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * System.Reflection.FieldInfo * System.Reflection.FieldInfo * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<System.Reflection.FieldInfo> -> unit
override this.ProcessPropertyFieldChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * System.Reflection.FieldInfo * System.Reflection.FieldInfo * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<System.Reflection.FieldInfo> -> unit
Public Overridable Sub ProcessPropertyFieldChanged (propertyBuilder As IConventionPropertyBuilder, newFieldInfo As FieldInfo, oldFieldInfo As FieldInfo, context As IConventionContext(Of FieldInfo))

매개 변수

propertyBuilder
IConventionPropertyBuilder

속성에 대한 작성기입니다.

newFieldInfo
FieldInfo

새 필드입니다.

oldFieldInfo
FieldInfo

이전 필드입니다.

context
IConventionContext<FieldInfo>

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

구현

적용 대상