Skip to main content
A newer version of this page is available. .

XPMemberInfo.GetModified(Object) Method

Checks whether or not the member is modified.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v21.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public abstract bool GetModified(
    object theObject
)

Parameters

Name Type Description
theObject Object

A persistent object that will be checked.

Returns

Type Description
Boolean

true, if the member is modified; otherwise, false.

Remarks

Set the Session.TrackpropertiesModifications or XpoDefault.TrackPropertiesModifications property to true to track changes. The GetModified method always returns false if a Session does not track changes made to properties.

See Also