Share via


MemberEntry.IsModified Property

Definition

For non-navigation properties, gets or sets a value indicating whether the value of this property has been modified and should be updated in the database when SaveChanges() is called.

public abstract bool IsModified { get; set; }
member this.IsModified : bool with get, set
Public MustOverride Property IsModified As Boolean

Property Value

Remarks

For navigation properties, gets or sets a value indicating whether any of foreign key property values associated with this navigation property have been modified and should be updated in the database when SaveChanges() is called.

See Accessing tracked entities in EF Core for more information and examples.

Applies to