Chapter 15 The Mapping Editor
The Source pane displays all the data sources and their source models showing all the objects that can be mapped.
You need to create at least one data source and declare models in the list of data source models to define where (in which database or model) data should be extracted to be transferred to the model in the Target pane. You can create several data sources.
A data source can contain several models, you can select the source models among a list of models open in the current workspace.
The Source pane always displays a gray background ; it is primarily displayed on the left in the Mapping Editor. However, the Source pane is displayed on the right pane in case of reverse mapping editing.
For more information about reverse mapping, see the "Understanding the Mapping Editor Dialog Box" section.
The following toolbar helps you manage sources:
Tool | Name | Description |
---|---|---|
![]() |
Properties | Opens the property sheet of the selected source object. |
![]() |
Create Data Source | Launches the Data Source Creation Wizard that allows you to name a data source, specify an access type and select source models. When the target model is an XSM, you can also select the model type being used as data source. |
![]() |
Delete Data Source | Deletes the selected data source. Related mappings, if any, are automatically deleted. |
![]() |
Add Model to Data Source | Adds one or more source models to an existing data source from a selection dialog box. |
![]() |
Remove Model from Data Source | Removes the selected source model from the data source. Related mappings, if any, are automatically deleted. |
![]() |
Find Source Object | Finds an object in the Source pane and highlights it. |
The following table lists how you can delete mappings and objects in the Source pane.
Type of deletion | Short keys | Contextual menu |
---|---|---|
Mapping deletion | del key on a mapped object in the Source pane to delete the mapping with its target object in the Target pane | Delete Mapping command |
Object deletion | shift+del combination key to delete a selected object in the Source pane | Delete command |
Copyright (C) 2006. Sybase Inc. All rights reserved. |
![]() |