文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>XPO Classes Comparison

XPO Classes Comparison

时间:2010-09-09  来源:Elvin Chen

XPO Classes Comparison

eXpress Persistent Objects > Feature Center > Data Representation > XPObject > XPO Classes Comparison

 

There are four classes from which you can derive your persistent objects. These are: XPBaseObject, XPObject, XPLiteObject and XPCustomObject.

Deriving from any class automatically enables various XPO features for your persistent object. For example, when creating a persistent object by deriving from the XPBaseObject, XPCustomObject or XPObject class, an OptimisticLockingAttribute is automatically applied to it. This enables the optimistic locking feature. If your persistent class derives from the XPLiteObject class, the optimistic locking feature is disabled.

The table below shows the difference between the XPO classes.

Class Name Deferred Deletion Optimistic Locking Built-in OID key
XPBaseObject - + -
XPLiteObject - - -
XPCustomObject + + -
XPObject + + +

 

 http://documentation.devexpress.com/#XPO/CustomDocument3311

排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载