DCBaseObject Class

The default base persistent class for classes that are generated for Domain Components (DC).

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.Xpo.v18.2.dll

Declaration

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

Remarks

With the Domain Components, you define interfaces instead of declaring regular XPO classes. The actual business class is automatically generated by XAF at run time. By default, the DCBaseObject class is the ancestor of generated classes.

The following are the main features of the DCBaseObject class:

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

To use another base class, pass the baseClass parameter to the ITypesInfo.RegisterEntity method when registering a Domain Component with the application.

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