How to Generate Foreign Keys This tutorial explains how to generate •

Transcription

How to Generate Foreign Keys This tutorial explains how to generate •
How to Generate Foreign Keys
•
This tutorial explains how to generate
foreign keys.
Open ModelSphere, a free CASE tool
© neosapiens 2009
Page 1
Sequence of actions
•
•
•
The green label describes the first action to do in the
current screen capture. 1. Edit a text field
The orange labels show the following actions. 2. Expand
The red label describes the last action in the sequence
of actions. 3. Double-click
Open ModelSphere, a free CASE tool
© neosapiens 2009
Page 2
Generate Foreign Keys Using the Main Menu
1.
2.
3.
Open ModelSphere, a free CASE tool
© neosapiens 2009
Page 3
Generate Foreign Keys Using the Explorer
1.
2.
Open ModelSphere, a free CASE tool
© neosapiens 2009
Page 4
Generation Options
Open ModelSphere, a free CASE tool
© neosapiens 2009
Page 5
Generation Report
Open ModelSphere, a free CASE tool
© neosapiens 2009
Page 6
The Result After Generation
1. Rename
Open ModelSphere, a free CASE tool
© neosapiens 2009
Page 7
Foreign Key Renamed
Open ModelSphere, a free CASE tool
© neosapiens 2009
Page 8
Set a Foreign Key on a Unique Key
2. Change
Open ModelSphere, a free CASE tool
1. Select
© neosapiens 2009
Page 9
Set a Foreign Key on a Unique Key
Open ModelSphere, a free CASE tool
© neosapiens 2009
Page 10
Generate FKs
Foreign
Foreign key
key FK2
FK2 isis based
based on
on
product's
product's name
name instead
instead of
of
product's
product's sku.
sku.
Open ModelSphere, a free CASE tool
© neosapiens 2009
Page 11