Implements the IXPObject and provides an autogenerated integer key mapped to the ‘OID’ field.
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).
XPO classes can’t be used as design-time Data Sources in VS 2005 since the base XPBaseObject class implements the System.ComponentModel.ICustomTypeDescriptor interface to provide dynamic type information. You should use, for example, the XPCollection or XPView as a data source for editors and grids.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the XPObject class.
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.