IUpdateEntry.IsModified(IProperty) Method

Definition

Gets a value indicating if the specified property is modified. If true, the current value assigned to the property should be saved to the database.

public bool IsModified (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member IsModified : Microsoft.EntityFrameworkCore.Metadata.IProperty -> bool
Public Function IsModified (property As IProperty) As Boolean

Parameters

property
IProperty

The property to be checked.

Returns

true if the property is modified, otherwise false.

Applies to