The requested page is not available for the requested platform. You are viewing the content for Default platform.

XPLiteObject Class

Implements the IXPObject.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v18.2.dll

Declaration

[NonPersistent]
[MemberDesignTimeVisibility(false)]
[OptimisticLocking(false)]
public abstract class XPLiteObject :
    XPBaseObject
<NonPersistent>
<MemberDesignTimeVisibility(False)>
<OptimisticLocking(False)>
Public MustInherit Class XPLiteObject
    Inherits XPBaseObject
    Implements

Remarks

When declaring a persistent object, you can use the XPLiteObject class as an anscestor for the object if the optimistic concurrency feature is not required. Otherwise, use the XPBaseObject class.

If your persistent class derives from the XPLiteObject class, the OptimisticLockingAttribute isn't applied. In this instance, you should manually apply this attribute to support optimistic locking. This can be useful when it is needed to map to existing databases.

Note

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.

Inheritance

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