Importing an ER/Studio DA Model
Go Up to Session 6: Importing an ER/Studio Data Architect Model to a Conceptual Model
- In the Model View, right-click the Conceptual Model "Sales" and select Import > From ER/Studio Data Architect > Create New Conceptual Objects....
- The import type of ER/Studio Data Architect diagram is selected by default. In the Location dialog, browse to the location of your ER/Studio Business Architect installation and go to the following directory: …\Program Files\ERStudio Business Architect X.X.X\samples\ERStudio Data Architect Models\. Select the file named “Northwind.dm1 and click Open.
- Leave the model name as “Northwind”. Also, leave the default setting of “Sales” for the location of the model to be created, and click Next.
- In the Object Selection dialog you can specify the objects you want included in the model. From the list of Available Entities, select the Entity labeled “Customers” and click
. When you select a main model/submodel, all the entities inside that submodel are moved to the Selected Entities tree. A subject area and diagram are created for each submodel. In this case a Subject Area and diagram are created with the name “Customers”.
- You can also select an individual attribute to be imported. Expand the "Territories" submodel and in "EmployeeTerritories" entity select the attribute "EmployerID". Click
and in the Selected entities tree a diagram and Subject Area are created named "Territories". The Business Entity "Employee Territories" and the one selected attribute appear in the Selected Entities list box.
- After you have made your selections on the Entities tab, click the Domains tab where all domains in the ER/Studio model are listed.
- You have the option that if you only want to see only bound domains to selected entities, you can select that option located below the Available domains list box. In ER/Studio you can bind a domain to an entity attribute, so this option filters out domains that are not bound to entities.
- Click the drop-down arrow in the “Import Domains As” list box. Your import options are: Business Elements, Domains, and Business Elements Referencing Domains. For purposes of this exercise, select “Business Elements”.
- Select the Domain “Address” and click
. It now appears in the Selected Domains list box as a Business Element. - Click Finish and once you get the message that the import was successful click OK. The imported model with all its associated diagrams, subject areas, and entities are placed in the Model View tree under the model node “Northwind”. The domain you imported appears as a Business Element under the Reference Objects node.
- In the Model View, double-click the diagram labeled “Customers” to view it in the Diagram Area.
