expressappframework-devexpress-dot-expressapp-dot-nonpersistentobjectspace-2c638d98.md
Gets a list of non-persistent objects modified within the current NonPersistentObjectSpace.
Namespace : DevExpress.ExpressApp
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
public override IList ModifiedObjects { get; }
Public Overrides ReadOnly Property ModifiedObjects As IList
| Type | Description |
|---|---|
| IList |
An IList of modified objects.
|
The New , Delete and Save Actions are available for non-persistent objects. The ModifiedObjects property provides access to all created, deleted and modified objects within a NonPersistentObjectSpace, unless the IObjectSpace.CommitChanges, IObjectSpace.Refresh or IObjectSpace.Rollback methods are called. An example is provided in the How to: Perform CRUD Operations with Non-Persistent Objects topic.
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.
var list = new List<TObject>();
foreach(var obj in _objectSpace.ModifiedObjects) {
if(obj is TObject) {
See Also
NonPersistentObjectSpace Class