共用方式為


IComplexPropertyFieldChangedConvention.ProcessComplexPropertyFieldChanged 方法

定義

在複雜屬性的支援欄位變更之後呼叫。

public 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
Public 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>

與慣例執行相關聯的其他資訊。

適用於