How to: Prevent Changes in a Persistent Object from being Automatically Committed
To prevent changes in a persistent object from being automatically committed to a database after you have finished editing its properties in a control bound to the object, override the default IEditableObject interface implementation as shown in the following code example.
Public Class PersistentClass : Inherits XPCustomObject
Protected Overrides Sub BeginEdit()
Protected Overrides Sub EndEdit()
Protected Overrides Sub CancelEdit()
Since version 7.1, you can set the static XPBaseObject.AutoSaveOnEndEdit field to false to prevent the automatic saving of object changes, without having to override the default IEditableObject.EndEdit() method implementation.