Skip to main content
.NET Standard 2.0+

PersistentBase.GetModificationsStore(Object) Method

Returns an object that stores information about the modified properties when the Session.TrackPropertiesModifications option is enabled.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v22.1.dll


public static IXPModificationsStore GetModificationsStore(
    object theObject


Name Type Description
theObject Object

A persistent object that is modified.


Type Description

An IXPModificationsStore object that stores information about the modified properties.


Use the GetModificationsStore method to access an IXPModificationsStore storage for a given persistent object Then, you can access the IXPModificationsStore methods, for instance:

XPMemberInfo miContactTitle = person.ClassInfo.GetMember("ContactTitle");
IXPModificationsStore ms = PersistentBase.GetModificationsStore(person);
var oldValue = ms.GetPropertyOldValue(miContactTitle);

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetModificationsStore(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.

See Also