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


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>

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

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