Skip to main content
.NET 6.0+

XPObjectSpace.ModifiedObjects Property

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

Namespace: DevExpress.ExpressApp.Xpo

Assembly: DevExpress.ExpressApp.Xpo.v23.2.dll

NuGet Package: DevExpress.ExpressApp.Xpo

Declaration

public override 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.

See Also