All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Standard 2.0+
.NET Framework 4.5.2+
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.
.NET Standard 2.0+
.NET Core 3.0+

EFCoreObjectSpace.IsModified Property

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

Namespace: DevExpress.ExpressApp.EFCore

Assembly: DevExpress.ExpressApp.EFCore.v20.2.dll

Declaration

public override bool IsModified { get; }
Public Overrides ReadOnly Property IsModified As Boolean

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