Call the Commit method to permanently store to the database all record updates, insertions, and deletions that have occurred within the current transaction and then end the transaction. The current transaction is the last transaction started by calling the StartTransaction method. The optional ForceFlush parameter allows you to specifically indicate whether the commit should also perform an operating system flush. The default value is True.
Before calling the Commit method, an application may check the status of the InTransaction property. If an application calls Commit and there is no current transaction, an exception is raised.