.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

UnitOfWork.ReloadChangedObjects() Method

Reloads the state of persistent objects modified within the current Unit of Work from the data store.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.1.dll


public void ReloadChangedObjects()
Public Sub ReloadChangedObjects


The ReloadChangedObjects method reloads the object state from the store, but since partial reloading might lead to an inconsistency, the recommended approach is to dispose of the current UnitOfWork and loaded objects, and load them from a new Session. This method should never be used within the Nested Unit of Work.

To reload the state of an individual persistent object, use the XPBaseObject.Reload method.

See Also