DSharp.fi
  • Home
  • Solutions
    • DSharp PathFinder
    • DSharp Studio
    • DSharp Studio Modeler
    • Pricing and Licenses
  • Services
    • Professional services
    • DSharp Training Program and Certifications
    • Developer Support
  • Customers
    • Our Customers
    • Customer Success Stories
      • Pirte’s Data Platform Modernization Boosts Data-Driven Healthcare
      • A City Expanded Its Data Warehouse with Library Data
      • Varha – a wellbeing services county – built a data-driven management system
      • From Double Checks to Smooth Automation – DSharp Studio Simplified Early Childhood Education Data Management
      • Productivity Leap improved Metsähallitus’ data management with DSharp Studio
  • Partners
    • Our Partners
    • Partner Stories
    • Become a Partner
  • Resources
  • Articles
    • Data warehousing
      • Data Warehouse concepts and data models
      • DSharp Studio Release: Extended Data Catalog and New Find Command
    • Reporting automation
      • Automate data pipelines
      • Making Data Management Easier with Automation
      • Metsähallitus enhanced its data management with DSharp’s data platform tool
    • Data modeling and mapping
      • Data Warehouse concepts and data models
      • Data vs Business Driven Modeling
  • About
    • About us
    • Contact us
    • Recruiting
  • Book a Demo
  • Start a Trial
  • Menu Menu
  • Features
    • DSharp Studio Features
    • DSharp Studio Modeler Features
    • Command Reference
    • Release Notes
    • Installation Guide
  • Modeling
    • Design Considerations
      • Data vs Business Driven Modeling
      • The Business Key
    • Basics
      • Model Types
      • Archetypes
      • Datatypes
    • Raw Model
      • Source Mappings
      • Metadata
    • Business Model
      • Metadata
  • Course Material
    • DSharp Studio Professional Course
    • DSharp Studio Expert Course
  • Legacy
    • DSharp Engine Features
      • Mapping Source Data in DSharp Engine
    • DSharp Engine Command Reference
    • DSharp Engine Installation Guide
    • 3rd Party Modeling Tools
      • Visual Paradigm
        • Modeling With Visual Paradigm
        • Configuring Data Vault 2.0 And Servers
        • Implementing Mappings
        • Setting Up
          • Import Stereotypes
          • Configure UI
      • Ellie
        • Modeling With Ellie
        • Ellie Metadata
    • Course Material
      • Intro Course
      • Advanced Course
  • Community
  • FAQ

For these tutorials, you need access to a SQL Server database.

Read the Getting Started guide for Ellie or Visual paradigm, depending on your choise of tool.

Before starting the tutorial, you may need to create the DS_DemoData database, which contains small batches of simulated raw data that the individual tutorial steps will need. During the tutorials, this data is pushed to the staging area of the DemoDW database that you are building, one batch at a time, and then immediately hashed and loaded. The D♯ Engine command for creating the database is found here: Help -> Tutorials -> Create Tutorial Data.

To build the tutorial model, a prepared Visual Paradigm model to be used as a starting point is located in your working directory, Workspace\ExternalModels\Training\Tutorial\DemoDW. When working on the tutorial, put all export and mapping files in this directory.

In most tutorials you expand the model in some way, because you want to incorporate new data into the DW. For the tutorials the steps to a working implementation could be:

  • Look at the “new” data to be imported to the DW in the DS_DemoData database as described by the tutorial. For this, you can use SQL Server Management Studio or, once you have opened an export file from the modeling tool that contains server definitions, D♯ Engine’s Servers pane to navigate to the data and the Data Grid to browse it.
  • Model the new data as Raw Model classes using Visual Paradigm or Ellie and export the model. Refresh D♯ Engine to incorporate the changes in the Conceptual Model.
  • From the D♯ Engine’s Develop menu, create or open the appropriate mapping file. Locate and drag the columns you want to implement from the Server pane to the Mapping Editor. Complement the column descriptions manually with Primary Key and Foreign Key information.
  • From the Conceptual Model pane, drag and drop the class properties to be mapped. Complement manually as needed. Save the mapping file.
  • Finally, refresh the D♯ Engine project by selecting the File.Refresh Project command. This will re-read the modeling tool export file as well as the mapping files, and build the solution.

Also look here for a more visual description of the mapping process in the D♯ Engine UI.

You can do the modeling and mapping in whichever order you prefer. Some Tutorials encourage you to try out different methods, and you are free to oblige to or ignore the suggestions.

Most D♯ Engine scripts contain hardcoded SQL queries that assume class-, role- and attribute names to be exactly as modeled in the pre-existing material, so you want to get the model and mappings right.

Note: if you want to start again, you can just drop the DemoDW database manually and start over from Tutorial 1.

Tutorial Commands

The tutorials mention D♯ Engine UI commands by name. The location of the command in the menu structure is usually not mentioned, because the commands may be restructured at any time when new commands are added. If you have trouble finding the command, you can run the Help -> Command Reference command, which creates an up-to-date list of available commands and where to find them.

The D♯ Engine tutorial commands are located under Help -> Tutorials. Most of the tutorial steps open a SQL file containing queries relevant for the tutorial step, for example queries that show the source data of interest as well as the result of the load afterwards. It is beneficial to spend some time with these queries and learn the cause-and-effect relationships between the original source and the end result in the DW.

The tutorial commands create a *.sql file and then executes the file. If the sql file extension has been registered with a SQL tool, that tool will open, and the SQL code will be handled by the tool. In the D# tutorial environment, SQL Server Management Studio will open the file, and it is up to you to inspect it and execute it. If you want D♯ Engine to instead copy the SQL code to the clipboard so that you can paste it elsewhere, run the command SQL -> SQL Mode -> Set Mode: Clipboard.

  • Developer Content
    • No Access
    • Model Types
    • Archetypes
    • Datatypes
    • Source Mappings
    • Metadata
    • Metadata
    • Data vs Business Driven Modeling
    • The Business Key
    • DSharp Studio Professional Course
      • Tutorial 01: Person Tutorial
      • Tutorial 02: Add Attributes
      • Tutorial 03: Project Tutorial
      • Tutorial 04: Hash Error Handling
      • Tutorial 05: Simple Hierarchy
      • Tutorial 06: Transactions
      • Tutorial 07: Filtering Data
      • Tutorial 08: Loading Multiple Classes From One Source
      • Tutorial 09: Handling Legitimate Duplicates
      • Tutorial 10: Multiple Attribute Values
    • Intro Course
      • Intro Course – Before You Begin
      • Tutorial 01 – Visual Paradigm
      • Tutorial 01 – Ellie
      • Tutorial 01: Person Tutorial
      • Tutorial 02: Add Attributes
      • Tutorial 03: Project Tutorial
      • Tutorial 04: Hash Error Handling
      • Tutorial 05: Simple Hierarchy
      • Tutorial 06: Transactions
      • Tutorial 07: Changing Load Behaviour
      • Tutorial 08: Loading Multiple Classes From One Source
      • Tutorial 09: Handling Legitimate Duplicates
      • Tutorial 10: Multiple Attribute Values
    • Advanced BDP Developer Course
      • Tutorial 01: Key Groups
      • Tutorial 02: Implementing the Participation Design Pattern
      • Tutorial 03: Versioned Source Data
      • Tutorial 04: Advanced State Handling
      • Tutorial 05: Hierarchy Alternatives
      • Tutorial 06: Hierarchy Depth Changes
      • Tutorial 07: Partial Load Deletion Detection
      • Tutorial 08: Merge Hashes Non-Destructively
      • Tutorial 09: Implementing Business Objects
      • Tutorial 10: Custom Value Transformations
    • DSharp Studio Expert Course
      • Tutorial 01: Key Groups
      • Tutorial 02: Implementing the Participation Design Pattern
      • Tutorial 03: Versioned Source Data
      • Tutorial 04: Advanced State Handling
      • Tutorial 05: Hierarchy Alternatives
      • Tutorial 06: Hierarchy Depth Changes
      • Tutorial 07: Partial Load Deletion Detection
      • Tutorial 08: Merge Hashes Non-Destructively
      • Tutorial 09: Derived Classes
    • Mapping Source Data
    • Command Reference
    • Release Notes And Downloads
    • DSharp Studio Command Reference
    • DSharp Studio Command Reference
    • DSharp Studio Features
    • DSharp Studio Modeler Features
    • DSharp Studio Modeler Installation Guide
    • Installation Guide
    • Configuring Data Vault 2.0 And Servers
    • Modeling With Visual Paradigm
    • Implementing Mappings
    • Import Stereotypes
    • Configure Visual Paradigm UI
    • Modeling With Ellie
    • Ellie Metadata
  • Frequently Asked Questions

Finland
Yliopistonkatu 31, 20100, Turku
Bertel Jungin aukio 5, 02600 Espoo

Germany
Podbielskistrasse 333,
5th floor, 30659, Hannover

Solutions

  • DSharp Studio
  • DSharp Studio Modeler
  • Pricing and Licenses

FAQ

  • About us
  • Contact us
  • Recruiting

Legal

  • Privacy policy
  • DSharp Studio License Subscription Agreement

Contact us!

    © Copyright DSharp Oy
    • Link to LinkedIn
    • Link to Mail
    Scroll to top Scroll to top Scroll to top