Поделиться через


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>

Дополнительные сведения, связанные с выполнением соглашения.

Применяется к