
The DBStorage object supports mapping Dictionary and SimpleList objects to and from a database, primarily for the storage of receipt and order information.
The DBStorage object supports the following property.
| Property | Description |
|---|---|
| Mapping | Maps a database column to an entry in the OrderForm or Dictionary object that DBStorage uses to insert and retrieve data. |
The DBStorage object supports the following methods.
| Method | Description |
|---|---|
| CommitData | Updates a record in the data source to new values. |
| DeleteData | Deletes specified data from the data source. |
| DeleteDataKey | Deletes one or more elements based upon the specified key value. |
| GetData | Returns the data that you specify. |
| InitStorage | Initializes the DBStorage object. |
| InsertData | Inserts the data that you specify. |
| LookupData | Returns a single record based upon keys and values that you specify. |
| LookupMultipleData | Retrieves multiple results from the database table. |