IObjectSpace.ModifiedObjects Property

Returns a collection of objects that have been created, modified or deleted after they were retrieved or committed.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.1.dll

Syntax

IList ModifiedObjects { get; }

Returns

Type Description
IList

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

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

See Also