PropertyAttributeConventionBase<TAttribute>.ProcessComplexPropertyFieldChanged 方法

定义

在更改复杂属性的后备字段后调用。

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

参数

propertyBuilder
IConventionComplexPropertyBuilder

属性的生成器。

newFieldInfo
FieldInfo

新字段。

oldFieldInfo
FieldInfo

旧字段。

context
IConventionContext<FieldInfo>

与约定执行关联的其他信息。

适用于