Skip to main content
All docs
V24.1
.NET 6.0+
  • The page you are viewing does not exist in the .NET Framework 4.5.2+ platform documentation. This link will take you to the parent topic of the current section.

EFCoreObjectSpace.IsModified Property

Specifies whether objects belonging to the current Object Space are modified.

Namespace: DevExpress.ExpressApp.EFCore

Assembly: DevExpress.ExpressApp.EFCore.v24.1.dll

NuGet Package: DevExpress.ExpressApp.EFCore

Declaration

public override bool IsModified { get; }

Property Value

Type Description
Boolean

true if at least one persistent object is modified; otherwise, false.

Remarks

An Object Space manages the state of the persistent objects which it created or retrieved. You can get this state via the IsModified property. It returns false if none of the objects have been modified since they were retrieved or committed (see CommitChanges). After an object has been created, modified or deleted, the IsModified property returns true. When this property’s value is changed, the ModifiedChanged event is raised.

You can change the IsModified property value via the SetModified method.

To get the list of modified objects, use the Object Space’s ModifiedObjects property.

See Also