Icon CommitTransaction Method

function CommitTransaction(const DatabaseName: String; const
      Operations: String): String

Usage

Use this method to commit a transaction.

This method will automatically call the GetDataSetAdapter method as necessary to get access to the dataset adapters required to perform the insert, update, and delete dataset command executions for the transaction. If a dataset adapter cannot be accessed for a particular dataset, an exception will be raised and the transaction commit will fail.

Please see the Web Server Database Access API topic under the Using the Web Server section in the Elevate Web Builder manual for more information on the structure of the JSON used for transaction commits.

Information This method will be automatically called when the TEWBDatabaseAdapter HandleRequest method is called for automatic database access API request handling, so you normally will not need to call this method directly.
Image