KeyDiscoveryConvention.ProcessPropertyFieldChanged Method

Definition

Called after the backing field for a property is changed.

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

Parameters

propertyBuilder
IConventionPropertyBuilder

The builder for the property.

newFieldInfo
FieldInfo

The new field.

oldFieldInfo
FieldInfo

The old field.

context
IConventionContext<FieldInfo>

Additional information associated with convention execution.

Implements

Applies to

Proizvod Verzije
Entity Framework Core 3.0, 3.1