Skip to content

Generate a Generic Data Access Model

In this section you can find how to generate a generic data access (GDAL) model from the central facts model, and how to add auxiliary relations to it.

How to generate generic data access model

Perform the next two steps to generate a GDAL model.

  1. Open the Diagram of your central facts model
  2. Right click on the white canvas of the central facts model generate generic data access model on canvas
  3. Or right click on the name of the central facts model in the Object Browser generate generic data access model in object browser
  4. Select i-refactory > Generate > Generic Data Access Layer Model menu generate generic data access model
  5. A new generic data access model is generated. The diagram is populated with independent, dependent entities, and the relations between the entities.
    generated data access model

Tip

Assign a meaningful name to the new physical diagram, such as: [model name] + GDAL.

The generated generic data access model contains the following:

  • For each Anchor, an Entity is generated
  • All attributes of the uni-temporal context (transactional timelines) and immutable context are included in the generated Entity
  • Multi-active and Bi-temporal contexts are generated as separate Entities
  • The following classification of keys is set:
    • Primary key (surrogate key) for each anchor, that consist of its ID and ACM Start Datetime.
    • Alternate keys for all independent anchors that consist of its Primary Business Keys and ACM Start Datetime.
    • Alternate keys for all dependent anchors that consist of its ID (of the related Anchor), Additional Business Keys, and ACM Start Datetime acm_start_dt.

Adjust the lay-out

Optionally you can adjust the lay-out:

  1. Click on the menu Symbol > Auto-LayoutMenu Symbol > Auto-layout
  2. Choose a lay-out style and click on OK Choose layout style

What's next?

After you've created and checked the generic data access model: