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+

XPCustomObject Class

Implements the IXPObject and provides a custom key definition.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

[NonPersistent]
[MemberDesignTimeVisibility(false)]
[DeferredDeletion]
public abstract class XPCustomObject : XPBaseObject
<NonPersistent>
<MemberDesignTimeVisibility(False)>
<DeferredDeletion>
Public MustInherit Class XPCustomObject
    Inherits XPBaseObject
[NonPersistent]
[MemberDesignTimeVisibility(false)]
[DeferredDeletion]
public abstract class XPCustomObject : XPBaseObject
<NonPersistent>
<MemberDesignTimeVisibility(False)>
<DeferredDeletion>
Public MustInherit Class XPCustomObject
    Inherits XPBaseObject

Remarks

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