[NonPersistent] public abstract class BaseObject : XPCustomObject
<NonPersistent> Public MustInherit Class BaseObject Inherits XPCustomObject
The BaseObject class is a feature-rich persistent base class. The BaseObject class is used as the base class when declaring business classes using the XPO Business Object template. The BaseObject class’s main features are:
- A GUID-type auto-generated BaseObject.Oid primary key property;
- Supports optimistic concurrency control;
- Supports deferred deletion.
Business classes are inherited from a base persistent class. Refer to the Base Persistent Classes help topic for more information on base persistent classe. The Ways to Add a Business Class topic describes how to declare a business class, and the How to: Implement a Custom Base Persistent Class help topic provides details on how to implement a custom base persistent class. The Business Classes vs Database Tables topic provides a general overview of the business class concept.
XAF manages persistent objects via Object Spaces. Refer to the BaseObjectSpace class description for more information about the Object Space concept.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the BaseObject 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.