Updates the specified object in the current Object Space with data from the data source.
NuGet Package: DevExpress.ExpressApp
An object to be reloaded from the data source.
The reloaded object.
If the specified object is a new object, the ReloadObject method does nothing. To ensure that the object is not a new object, use the IsNewObject(Object) method.
If the specified object does not belong to the current Object Space, the ReloadObject method retrieves this object to the current Object Space, and then reloads its state.
A CannotReloadPurgedObjectException is thrown if the specified persistent object is deleted from the data store.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ReloadObject(Object) method.
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.