IUpdateEntry.CanHaveOriginalValue(IPropertyBase) Method

Definition

Returns true only if the property has storage for an original value.

C#
public bool CanHaveOriginalValue (Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);

Parameters

propertyBase
IPropertyBase

The property.

Returns

true if the property may have an original value; false if it never can.

Applies to

Product Versions
Entity Framework Core 9.0