PropertyAttributeConventionBase<TAttribute>.ProcessComplexPropertyFieldChanged Method

Definition

Called after the backing field for a complex property is changed.

C#
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);

Parameters

propertyBuilder
IConventionComplexPropertyBuilder

The builder for the property.

newFieldInfo
FieldInfo

The new field.

oldFieldInfo
FieldInfo

The old field.

context
IConventionContext<FieldInfo>

Additional information associated with convention execution.

Applies to

Продукт Версии
Entity Framework Core 8.0, 9.0