Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

XPLiteObject Class

Implements the IXPObject.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.1.dll

NuGet Package: DevExpress.Xpo

Declaration

[NonPersistent]
[MemberDesignTimeVisibility(false)]
[OptimisticLocking(false)]
public abstract class XPLiteObject :
    XPBaseObject

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.

Inheritance

See Also