Understanding Data and Process Modeling

How to:

The core of MDS is a logical model that defines the data tables to be used and their relationships to each other.

A logical model can either be created from scratch or partly imported by importing database metadata, an XML file, or other model (for example, Powerdesigner, .cdm, or .pdm file).

To create a new logical model from scratch, click the New button at the top of the navigation pane, select New blank model and click OK, as shown in the following image.

To import database metadata or a model file, right-click on the Entities node in the navigation panel and select the appropriate option to launch a wizard that will import the information in the file, as shown in the following image.

For more information on defining a database connection, see Working With Databases.


Top of page

x
Procedure: How to Create Tables to Add to the Diagram Canvas

To create tables to add to the diagram canvas:

  1. In the Entities palette, click the Table item and then click on the diagram canvas, as shown in the following image.

    The new_entity window opens.

  2. Double-click on the canvas component to open the configuration dialog, as shown in the following image.

    There are two types of tables, entity and relationship, which can be selected in the configuration dialog. Entity tables represent the data that exists in the connected systems, while relationship tables are created to store information that is common to multiple entity tables. Additionally, the matching mode and matching strategy can be specified.

  3. To add columns to the table, click the Add button to the right of the Columns table.

    Each column should have a name, role, and type (both the original database type and how it should be treated in MDS). The diagram shows a representation of the table, with the columns categorized by role, as shown below.

    Entity tables are shown with a blue border and header, while relationship tables are shown with an orange border and header. If there are any problems, they will be shown in the status panel.


Top of page

x
Procedure: How to Add Relationships Between Tables

After the tables have been added, relationships between them can be added. To add a relationship:

  1. Select the Relationship item from the palette and drag a connection from one table to the other, as shown in the following image.

    A new relationship is created, called new_relationship.

  2. Double-click the green box to open the relationship configuration dialog, as shown in the following image.

    The table that the arrow points to is entered as the Parent table, and the table that the relationship originates from is entered in the Child Table field.

  3. Enter the name(s) of the matching key columns in the Representative Foreign Key table to define the specific relationship between the tables.

iWay Software