Here is how the SQL Database gets updated:
(1) The application loads Business Objects into the PersistenceManager cache.
(2) The application (typically through Databinding) modifies objects in the PersistenceManager cache.
(3) The application decides to save changes to the database using PersistenceManager.SaveChanges()
(4) For each Insert, Delete, or Update operation, the PersistenceManager constructs an SQL statement and submits it to the databaser
(5) If the save is successful, the PersistenceManager does a a Refetch of the data because the Database may have made additional changes (for example,a trigger may have changed data, or time stamps may have been added).
(6) iIf you want to see what the SQL looks like, look at the DebugLog.XML file in the executing directory.
Edited by IdeaBlade - 13-Jul-2007 at 9:41am