BaseObject Class

Represents one of the base persistent classes from which business classes can be inherited.

Namespace: DevExpress.Persistent.BaseImpl

Assembly: DevExpress.Persistent.BaseImpl.v18.2.dll

Declaration

[NonPersistent]
public abstract class BaseObject :
    XPCustomObject
<NonPersistent>
Public MustInherit Class BaseObject
    Inherits XPCustomObject
    Implements

Remarks

The BaseObject class is a feature-rich persistent base class. When declaring business classes using the XPO Business Object template, the BaseObject class is used as the base class. The following are the main features of the BaseObject class:

  • Contains a Guid-type auto-generated BaseObject.Oid primary key property;
  • Supports optimistic concurrency control;
  • Supports deferred deletion.

Business classes are inherited from one of the base persistent classes. For an overview of base persistent classes, refer to the Base Persistent Classes help topic. To learn how to declare a business class, refer to the Ways to Add a Business Class topic. To learn how to implement a custom base persistent class, refer to the How to: Implement a Custom Base Persistent Class help topic. For a general overview of the business class concept, refer to the Business Classes vs Database Tables topic.

Note

XAF manages persistent objects via Object Spaces. To learn about the Object Space concept, refer to the BaseObjectSpace class description.

Implements

DevExpress.Xpo.Helpers.IXPClassInfoAndSessionProvider
DevExpress.Xpo.Helpers.IXPClassInfoProvider
DevExpress.Xpo.Helpers.IObjectLayerProvider
DevExpress.Xpo.Helpers.IDataLayerProvider
DevExpress.Xpo.Metadata.Helpers.IXPDictionaryProvider
DevExpress.Xpo.IXPCustomPropertyStore
DevExpress.Xpo.IXPInvalidateableObject
DevExpress.Xpo.IXPReceiveOnChangedFromDelayedProperty
DevExpress.Xpo.IXPReceiveOnChangedFromArbitrarySource
DevExpress.Xpo.Helpers.IXPImmutableHashCode
DevExpress.Xpo.IXPReceiveOnChangedFromXPPropertyDescriptor
See Also