次の方法で共有


IPropertyFieldChangedConvention.ProcessPropertyFieldChanged メソッド

定義

プロパティのバッキング フィールドが変更された後に呼び出されます。

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

規則の実行に関連する追加情報。

適用対象