A newer version of this page is available. Switch to the current version.

XPCustomObject Class

Implements the IXPObject and provides a custom key definition.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v18.2.dll


public abstract class XPCustomObject :
Public MustInherit Class XPCustomObject
    Inherits XPBaseObject


When creating a persistent object by deriving from the XPBaseObject, XPCustomObject or XPObject class, an OptimisticLockingAttribute is automatically applied to it. This attribute specifies whether a session can lock a persistent object's state (allows optimistic locking to be enabled).

For more information, see XPObject and Optimistic Concurrency.

See Also