Setting the Root Class
When you have specified the classes for inclusion in your relational view, the Relational View Wizard then enables you to set the root class for your relational view.
Setting a root class provides greater ODBC efficiency.
All classes selected for inclusion in your relational view are available for selection as the root class. The classes are displayed in the same hierarchy as the Classes Included in View list box in the previous step.
An example of the fourth sheet of the Relational View Wizard is shown in the following image.
To set your root class
-
In the Root Class list box, select the class that is to be the root class in your relational view. By default, no class is set as the root class.
Select a class that contains collections that provide access to the major classes in your application; for example, the Company class that contains the allEmployees, allProducts, and allCustomers collections. Only one class can be set as the root class. You can unset a root class by selecting the (none) item at the top of the list.
-
Click the Next > button when you have set your root class.
Alternatively, click the < Back button to redisplay the previous dialog, or the Cancel button to abandon your selections.
When you click the Next > button, the Relational View Wizard then enables you to set the included object features.