Chapter 12 Creating Mappings


Creating a mapping from the Mapping Editor

You can create a mapping in the Mapping Editor in any of the following ways:

Note   Differences between the mapping methods
When dragging and dropping, you can either create a mapping if no mapping is defined for an object icon or reuse and complement an existing mapping.
When using the Create Mapping tools or contextual menu command, you can create several different mappings for the same target object. Each mapping object is added to the Mapping list and you can access its property sheet.

Generate Default Mappings

The Generate Default Mapping feature allows you to automatically create mappings between source and target objects having the same name. When an object in the target model is mapped to an object in the source model, their sub-objects are automatically mapped when their name and code match.

Automatic mapping

When objects in the Source and Target pane are mapped, their sub-objects are automatically mapped if the current model (target) contains sub-objects whose name and code match those of the sub-objects in the source models.

You can force the mapping using the Generate Mapping tool in the Sub-Object sub-tab of the Mappings pane to automatically generate a mapping between sub-objects with same name or code in the source and target models.

Note   Multi-selection allowed
You can multi-select object icons in the Source pane by holding down the SHIFT key while clicking, and map them simultaneously to a target object.

 


Copyright (C) 2008. Sybase Inc. All rights reserved.