Try OpenEdge Now
skip to main content
Online Help
Data Object overview : Reference : New Business Entity wizard : Select a schema file page
 
Select a schema file page
The Select a schema file page of the New Business Entity wizard allows you to define schema and Data Object operations that you want to generate for a Business entity class file. You can expose the Data Object interface annotated Business entity class file as a Data Object resource.
This page includes the following controls:
Control
Description
Resource Name
Displays the Business entity name specified in the Business entity name field. You can enter a different name. This is an alias of the Business entity class name.
Read-Only operations
Specifies the access method as a read-only operation. The ABL code (including the Data Object interface annotations) is generated with Read method.
Note: When you select dataset with multiple relations, Invoke methods are also generated for each temp-table.
CRUD operations
Specifies the access method for the operation as create, read, update, or delete. The ABL code (including the Data Object interface annotations) is generated with predefined CRUD (create, read, update, and delete) operations.
CRUD and Submit operations
Specifies the access method for the operation as Create, Read, Update, Delete, or Submit.
Write dataset before image
Writes the before-image data to the new Business entity class file.
Note: The Write dataset before image option is selected by default if the CRUD and Submit option is selected. The before-image data is required to perform the submit operation.
Select database table
Creates a Business entity class from the selected database table.
Connection
(Required if Select database table is selected) Specifies the database connection that you want to use to dynamically define the temp table.
Table
(Required if Select database table is selected) Specify the database table from selected database connection.
Select schema from file
Creates a Business entity class from the selected schema file.
Schema file
(Required if Select schema from file is selected) Specifies a schema for the defined Business entity class. The schema can be either a temp-table or dataset. Click Browse to select a schema file.
If you select schema file, which is from your current workspace, only the relative path of the project is displayed in the Schema file field. If the selected schema file is from outside your workspace, then the absolute path is displayed.
Note: If a schema file is not selected, the Business entity class file is generated with a default dataset and a single temp-table.
Schema
(Required if Select schema from file is selected) Displays a list of all the temp-tables and datasets of the selected file.
Include file
Is enabled if the selected schema file is an include (.i) file.
Note: If the selected schema file is an include file, then it is included in the Business entity class file.
Schema definition
Copies the selected schema definition to a Business entity class file. This is the default option.
Note: This option is enabled if the selected schema file is a procedure (.p or .w), a class (.cls), or an include (.i) file.
Class Hierarchy
Enables you to select the schema definition from class hierarchy.
Expose as Data Object Service
Adds Data Object interface annotations to the defined Business entity class file and exposes it as a Data Object resource.
Note: If the Expose as Data Object Service check box is clear, the Business entity class is generated without the Data Object interface annotations. The defined Business entity class file cannot be exposed as a Data Object resource. Alternatively, you can use the Define Service Interface wizard to add Data Object interface annotations to a Business entity class file.
Finish
Completes the wizard and opens the defined Business entity class including the Data Object interface annotations in the ABL Editor. This also completes the generation of Data Object resource from the Business entity class file.