This option helps create data services automatically using a given database structure. When generating a data service, the server takes its table structure according to the structure specified in the data source and automatically creates the SELECT
, INSERT
, UPDATE
and DELETE
operations.
First, you must add a data source. For information, see Adding Datasources. Once the data source is created, follow the steps below to generate a data service using it.
- Log in to the management console and select Generate under Data Service menu.
- Select the data source created before and the database, which includes the data you need to expose, and click Next.
- The table structure of the database s displayed. From there, select the preferred table/s and click Next.
- If you selected multiple tables in previous step, you must select a service generation mode from the two options as follows, and click Next.
- Single Service: Creates a single data services for operations of all tables
- Multiple Services: Creates a services per each table for operations of only that table
- The generated service/s appear on the screen. Click Finish to navigate to the Deployed Services window, from where you can Manage Data Services.