Feature deep dive

Logical model and data dictionary

Entities, typed attributes, keys and relationships, organised into subject areas and defined in a shared dictionary. It is the technology-neutral design your physical models and DDL are generated from, and it holds the entities your Flows load.

The Order-to-Cash submodel on the logical canvas: ten entities with their keys and relationships
Overview

The design every later stage builds on

One model carries the business meaning and the technical detail, so the design is not retyped between specification and build.

The logical model records what the business means — customers, sales orders, invoices — and how they relate, without any database detail in the way. Business owners read it through names and definitions. Architects add the keys and relationships. Physical models and their DDL are generated from it, and Flows place its entities directly, so the design is never redrawn.

A large model is split into nested submodels, one per subject area. On the Full Model view, a concept can stand in for a whole submodel, so hundreds of entities read as a dozen named business ideas. The conceptual picture and the logical design stay one model.

You rarely start from nothing. Import an existing database from its SQL DDL, which can also build a physical model with the native types the script declares, or bring in an ER/Studio DM1 file or a DBML file. The screenshots below come from the product, using a small order-to-cash demo model with a sales mart on top.

Walkthrough

From subject area to reviewed design

Seven steps in a common working order: lay out the area, type the attributes, relate the entities, model a star schema for reporting, review, standardise the vocabulary, and record the facts that have no field of their own.

Step 1

Lay out a subject area on the canvas

Work inside a submodel — one subject area, such as order-to-cash — with its own layout and display mode. Create entities from the canvas toolbar, relate them by dragging from one to another, and add notes that point at the entities they discuss.

  • Nested submodels for subject areas; relationships leaving the view are hidden, not removed
  • Concepts on Full Model stand in for whole submodels, for the business-level picture
  • On-demand auto layout (layered, radial or force-directed), undoable and scoped to the view
  • Four display modes: Detailed, Compact, Name + Definition and Name Only, per view or per entity
  • Canvas notes with arrows to entities or concepts, for open questions and scope decisions

See concepts in detail

The Order-to-Cash submodel on the logical canvas: ten entities with their keys and relationships
Step 2

Type the attributes and set the keys

Each attribute has one of eight logical datatypes, a nullability flag and a definition. Link it to a dictionary term and it takes the term's definition and datatype, so the same concept is described the same way wherever it appears. Keys state how each entity is identified.

  • Eight technology-neutral datatypes; database-specific types belong to each physical model
  • An optional dictionary term per attribute, bringing its definition and datatype with it
  • Primary and alternate keys, so business and natural keys are stated rather than implied
  • Natural or surrogate keys, with a generation strategy such as auto-increment or UUID
  • Inversion entries: non-unique indexes on the columns you search and join on
Sales Order entity editor, Attributes tab: typed attributes, several linked to dictionary terms
Step 3

Relate entities with explicit cardinality

Drag from the parent to the child and the foreign-key columns are created in the child for you, kept in step with the parent key's datatype. Cardinality is stated from the parent side, so each line reads as a sentence: one customer places zero or more sales orders.

  • One-to-one and one-to-many, with the child side explicit: zero or more, or one or more
  • Many-to-many modelled as an associative entity, which can carry attributes of its own
  • Identifying relationships and weak entities marked on the diagram
  • Role names keep role-playing references apart, such as billing and shipping address
  • ON DELETE and ON UPDATE actions set once on the relationship, shared by every physical model
Sales Order editor, Relationships tab, with one relationship expanded to show its cardinality and keys
Step 4

Model the star schema your reports read

A reporting layer is modelled in the same logical model as the core: a fact and its dimensions are ordinary entities, with keys and relationships like any other. Here the Sales Mart submodel places a Sales Fact at order-line grain between Date, Product and Customer dimensions. Physical models generate its tables, and Flows can load them, as for any other entity.

  • Facts and dimensions as ordinary entities, in a submodel of their own
  • A fact keyed on its grain, such as order number and line number
  • Dimension keys natural or surrogate, with the business key kept as an alternate key
  • Foreign keys on the fact created by drawing each relationship to a dimension
  • A type-2 dimension's Valid from, Valid to and Is current are ordinary attributes
The Sales Mart submodel on the logical canvas: Sales Fact, keyed on Order Number and Line Number with its foreign keys and measures, joined to Date Dimension and Product Dimension, each with a primary and an alternate key, and to Customer Dimension with Valid From, Valid To and Is Current
Step 5

Review the definitions, not just the boxes

The Entity tab holds what a business reader needs: the definition and a note. Questions are raised as work items linked to the entity and discussed in the work item's comment thread. The History tab keeps each change to the entity, so a review round leaves a record. The Example data tab keeps sample rows, such as the codes of a code list, so a reader sees what the entity holds.

  • Definition and note on every entity, shown on the canvas in Name + Definition mode
  • Raise a linked work item from the entity and discuss it in the work item's comments
  • Used in tab: the submodels, Flows, dictionary terms and entities that reference it
  • History tab: each field's value before and after, with who changed it and when
  • Example data tab: up to 1,000 sample rows, typed in or pasted from Excel
  • Viewers read everything, history included, and change nothing

See how work items link to the model

Sales Order entity editor, Entity tab, showing the entity's business definition and its Data Owner, Readiness and Sensitivity metadata
Step 6

Standardise the vocabulary in the data dictionary

Dictionary terms carry a name, a business definition and a standard datatype, filed in nested folders. Attributes linked to a term take its definition, and that definition can travel on into the database as a column comment. The dictionary also keeps the approved abbreviations a physical model's naming standard can check column names against. Two more topics show the concepts and the entities of the logical model as cards, so you can keep their definitions, notes and metadata current without the canvas.

  • Terms with definitions and datatypes in nested folders, and one search across all of them
  • Renaming a term keeps every link: attributes point at the term, not at its name
  • Approved abbreviations, such as Number to NBR, for a physical model's naming standard
  • A term's own abbreviation sets the column name the naming standard expects for linked attributes
  • Optional DDL comments from term and entity definitions, where the database supports comments
  • Concepts and Entities topics with folder trees of their own, and an open card shows who is editing it
Data Dictionary: term folders, terms with definitions and datatypes, the Data Steward of some terms, and the attributes linked to a term
Step 7

Record owners, stewards and status as your own metadata

Some facts have no field of their own: who owns an entity, who looks after a term, how ready a Flow is. Record them as metadata, your own pairs of a key and a value such as Owner: Finance, on the objects themselves. The Metadata keys page of the dictionary defines each key once, with a description and, where you want one, a fixed list of values. An attribute shows the pairs of its dictionary term.

  • Pairs on entities, terms, sources, source objects, Flows, Flow steps, graphs, node types and edge types
  • Keys and values suggested from those in use, so Owner and owner do not become two keys
  • Key definitions filed in folders, each with a description and an optional fixed list of values
  • Rename, merge or delete a key on every object at once, after a preview and a saved version
  • Search by key or value, and set one pair on many entities or terms in one step
  • Written into the dbt project as meta, and shown in the HTML report
The Metadata keys page of the Data Dictionary: key folders in the tree, and a card per key with its number of uses, its description and its fixed list of values
Highlights

What keeps a logical model trustworthy

The details that matter when a model has to outlive the project that created it.

Concepts over the same model

Concepts give business owners a readable picture on the Full Model view, drawn over the same entities the engineers build.

Concept model

Definitions written once

Linked attributes take a term's definition and datatype, and generated column comments come from the term, so one edit reaches every linked column.

Mistakes caught before DDL

Duplicate names are flagged as you type. Validating the model through OneAssist or an MCP client reports keys and foreign keys that would break the DDL.

Start from what you have

Import SQL DDL, SSMS scripts included, an ER/Studio DM1 file or DBML. The DDL import can build the physical model as well. Import a changed script again to update the tables, with the ids kept.

Templates for recurring columns

Keep audit columns or an address block as a template entity and create entities from it. Templates never reach the DDL.

Several modellers, one model

Editing an entity locks only that entity, so colleagues keep working on the rest, and every change appears live for everyone.

Keep exploring

Where the logical model goes next

Concepts summarise it, Flow loads it and the physical model turns it into a schema.

Model one of your own subject areas

Bring an existing schema or an ER/Studio file. We will import it with you and walk it from concept to reviewed design.