In this exercise, you will access data models from the Derby SAMPLE
database. The Derby SAMPLE database is provided with this product. You will
use the schemas in this database for your relationship mapping.
- In the Data Source Explorer, right-click the Derby Sample Connection,
and select Connect.
- In the window that opens, keep the default settings and click OK.
- Expand the SAMPLE database node, and the Schemas folder.
- Expand the SAMP schema, and the Tables folder.
- Select the Department table, hold the mouse button down, and drag
your mouse from the Data Source Explorer view to the Data Models folder
under the project that you created.
- Release the mouse button while highlighting the Data
Models folder.
- Select the Project table in the Data Source Explorer, and drag
and drop it to the Data Models folder.
You now have two data models in the Data Project Explorer that you
can use to create mapping models: Sample.dbm and Sample2.dbm.