Icon TEWBDatabaseAdapter

Unit: ewbdatasetadapter

Inherits From TComponent

The TEWBDatabaseAdapter component is used in conjunction with various TEWBDataSetAdapter components to implement a custom database access API in a native server module. A custom database access API will often deal with data from a data source that isn't supported by the web server's built-in database access or needs to perform special processing for database requests.

The TEWBDatabaseAdapter component implements the following functionality:
  • Retrieving the list of datasets for the custom database access API.


  • Retrieving TEWBDataSetAadapter instances in order to work with one or more datasets.


  • Starting, committing, and rolling back transactions.
You can use the HandleRequest method to automatically handle the incoming TEWBWebServerRequest web server request instance for the native server module. The request will be handled according to the database access API for the web server. 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 how the API requests should be structured.

Image