.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

BaseObjectSpace.ModifiedObjects Property

Returns a collection of objects that have been created, modified or deleted in the current object context.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v21.2.dll

Declaration

public virtual IList ModifiedObjects { get; }

Property Value

Type Description
IList

An IList collection that contains the modified objects belonging to the current Object Space.

Remarks

When you create, modify or delete an object, you should then call the BaseObjectSpace.CommitChanges method. This method saves all the changes made to the current Object Space’s persistent objects to the database. To get the list of objects to be committed, use the ModifiedObjects property. After calling the BaseObjectSpace.CommitChanges method this list is empty until creating, modifying or deleting an object.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ModifiedObjects property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Implements

See Also