The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.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.v19.1.dll

Declaration

public static IXPModificationsStore GetModificationsStore(object theObject)
Public Shared Function GetModificationsStore(theObject As Object) As IXPModificationsStore
public static IXPModificationsStore GetModificationsStore(object theObject)
Public Shared Function GetModificationsStore(theObject As Object) As IXPModificationsStore

Parameters

Name Type Description
theObject Object

A persistent object that is modified.

Parameters

Name Type Description
theObject Object

A persistent object that is modified.

Returns

Type Description
IXPModificationsStore

An IXPModificationsStore object that stores information about the modified properties.

Returns

Type Description
IXPModificationsStore

An IXPModificationsStore object that stores information about the modified properties.

Remarks

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);
See Also