ER/Studio - Embarcadero Technologies Product Documentation
ER/Studio - Embarcadero Technologies Product Documentation ER/Studio - Embarcadero Technologies Product Documentation
USING ER/STUDIO > CREATING AND WORKING WITH DATA MODELS Database Type Width SERIAL/INTEGER -1 SMALLDATETIME -1 SMALLINT 5 SMALLMONEY 7 TEXT 18 TIME/DATETIME -1 TIMESTAMP/DATE -1 TINYINT 3 UNIQUEID 16 VARBINARY/BLOB 18 VARCHAR 18 VARIANT 20 Import Database Types The following table illustrates the various UML types and the database types to which they map: UML Type Database Type long BIGINT byte BINARY bool BIT string CHAR int COUNTER string DATE string DATETIME string DATETIMN float DECIMAL float DECIMALN double DOUBLE PRECISION float FLOAT float FLOATN byte IMAGE/LONG BINARY int INTEGER int INTN string LONG VARCHAR string MLSLABEL/VARCHAR float MONEY float MONEYN string NCHAR EMBARCADERO TECHNOLOGIES > ER/STUDIO® 8.0.3 USER GUIDE 48
USING ER/STUDIO > CREATING AND WORKING WITH DATA MODELS UML Type Database Type string NTEXT/LONG NVARCHAR float NUMERIC float NUMERICN string NVARCHAR byte PICTURE float REAL/SMALLFLOAT string ROWID/VARCHAR int SERIAL/INTEGER string SMALLDATETIME short SMALLINT Float SMALLMONEY string TEXT string TIME/DATETIME string TIMESTAMP/DATE short TINYINT int UNIQUEID byte VARBINARY/BLOB string VARCHAR char VARIANT Describe - ER/Studio Mapping The ER/Studio - Describe integration allows direct mapping of Describe class symbols to ER/Studio logical model entities. In general terms, this lets you generate an ER/Studio data model from a class model. The purpose of the integration is to give a database modeler using ER/Studio the ability to create a class diagram from a logical database model. The integration process maps Describe classes in a specific format. Before importing a class diagram into ER/Studio you should understand how ER/Studio maps to Describe. Review the following topics to ensure success: • Mapping Datatypes Between Describe and ER/Studio • Mapping Relationships Between Describe and ER/Studio • Optional vs. Mandatory Relationship (Existence) Mapping • Cardinality Mapping EMBARCADERO TECHNOLOGIES > ER/STUDIO® 8.0.3 USER GUIDE 49
- Page 1 and 2: ER/Studio® 8.0.3 User Guide
- Page 3 and 4: Contents Welcome to ER/Studio . . .
- Page 5 and 6: CONTENTS Enhancing Data Integrity U
- Page 7 and 8: CONTENTS Optimizing Repository Perf
- Page 9 and 10: Welcome to ER/Studio ER/Studio is a
- Page 11 and 12: WELCOME TO ER/STUDIO > DATABASE SUP
- Page 13 and 14: ER/STUDIO OVERVIEW > ER/STUDIO FAMI
- Page 15 and 16: ER/STUDIO OVERVIEW > APPLICATION IN
- Page 17 and 18: ER/STUDIO OVERVIEW > APPLICATION IN
- Page 19 and 20: ER/STUDIO OVERVIEW > APPLICATION IN
- Page 21 and 22: ER/STUDIO OVERVIEW > APPLICATION IN
- Page 23 and 24: ER/STUDIO OVERVIEW > APPLICATION IN
- Page 25 and 26: ER/STUDIO OVERVIEW > CONFIGURING AN
- Page 27 and 28: ER/STUDIO OVERVIEW > CONFIGURING AN
- Page 29 and 30: ER/STUDIO OVERVIEW > CONFIGURING AN
- Page 31 and 32: ER/STUDIO OVERVIEW > CONFIGURING AN
- Page 33 and 34: ER/STUDIO OVERVIEW > CONFIGURING AN
- Page 35 and 36: ER/STUDIO OVERVIEW > DATA MODELING
- Page 37 and 38: ER/STUDIO OVERVIEW > DEVELOPING A D
- Page 39 and 40: Using ER/Studio This section includ
- Page 41 and 42: USING ER/STUDIO > CREATING AND WORK
- Page 43 and 44: USING ER/STUDIO > CREATING AND WORK
- Page 45 and 46: USING ER/STUDIO > CREATING AND WORK
- Page 47: USING ER/STUDIO > CREATING AND WORK
- Page 51 and 52: USING ER/STUDIO > CREATING AND WORK
- Page 53 and 54: USING ER/STUDIO > CREATING AND WORK
- Page 55 and 56: USING ER/STUDIO > CREATING AND WORK
- Page 57 and 58: USING ER/STUDIO > CREATING AND WORK
- Page 59 and 60: USING ER/STUDIO > CREATING AND WORK
- Page 61 and 62: USING ER/STUDIO > CREATING AND WORK
- Page 63 and 64: USING ER/STUDIO > BEST PRACTICES 8
- Page 65 and 66: USING ER/STUDIO > COMMON TASKS Comm
- Page 67 and 68: USING ER/STUDIO > COMMON TASKS Movi
- Page 69 and 70: USING ER/STUDIO > COMMON TASKS Copy
- Page 71 and 72: USING ER/STUDIO > COMMON TASKS Chan
- Page 73 and 74: USING ER/STUDIO > COMMON TASKS 3 To
- Page 75 and 76: USING ER/STUDIO > COMMON TASKS The
- Page 77 and 78: USING ER/STUDIO > COMMON TASKS 4 Co
- Page 79 and 80: USING ER/STUDIO > COMMON TASKS Sync
- Page 81 and 82: USING ER/STUDIO > COMMON TASKS In c
- Page 83 and 84: USING ER/STUDIO > COMMON TASKS Adva
- Page 85 and 86: USING ER/STUDIO > COMMON TASKS Asso
- Page 87 and 88: USING ER/STUDIO > COMMON TASKS Comp
- Page 89 and 90: USING ER/STUDIO > COMMON TASKS Dime
- Page 91 and 92: USING ER/STUDIO > COMMON TASKS •
- Page 93 and 94: USING ER/STUDIO > COMMON TASKS See
- Page 95 and 96: USING ER/STUDIO > COMMON TASKS The
- Page 97 and 98: USING ER/STUDIO > COMMON TASKS The
USING <strong>ER</strong>/STUDIO > CREATING AND WORKING WITH DATA MODELS<br />
UML Type Database Type<br />
string NTEXT/LONG<br />
NVARCHAR<br />
float NUM<strong>ER</strong>IC<br />
float NUM<strong>ER</strong>ICN<br />
string NVARCHAR<br />
byte PICTURE<br />
float REAL/SMALLFLOAT<br />
string ROWID/VARCHAR<br />
int S<strong>ER</strong>IAL/INTEG<strong>ER</strong><br />
string SMALLDATETIME<br />
short SMALLINT<br />
Float SMALLMONEY<br />
string TEXT<br />
string TIME/DATETIME<br />
string TIMESTAMP/DATE<br />
short TINYINT<br />
int UNIQUEID<br />
byte VARBINARY/BLOB<br />
string VARCHAR<br />
char VARIANT<br />
Describe - <strong>ER</strong>/<strong>Studio</strong> Mapping<br />
The <strong>ER</strong>/<strong>Studio</strong> - Describe integration allows direct mapping of Describe class symbols to <strong>ER</strong>/<strong>Studio</strong> logical model<br />
entities. In general terms, this lets you generate an <strong>ER</strong>/<strong>Studio</strong> data model from a class model. The purpose of the<br />
integration is to give a database modeler using <strong>ER</strong>/<strong>Studio</strong> the ability to create a class diagram from a logical database<br />
model.<br />
The integration process maps Describe classes in a specific format. Before importing a class diagram into <strong>ER</strong>/<strong>Studio</strong><br />
you should understand how <strong>ER</strong>/<strong>Studio</strong> maps to Describe. Review the following topics to ensure success:<br />
• Mapping Datatypes Between Describe and <strong>ER</strong>/<strong>Studio</strong><br />
• Mapping Relationships Between Describe and <strong>ER</strong>/<strong>Studio</strong><br />
• Optional vs. Mandatory Relationship (Existence) Mapping<br />
• Cardinality Mapping<br />
EMBARCAD<strong>ER</strong>O TECHNOLOGIES > <strong>ER</strong>/STUDIO® 8.0.3 US<strong>ER</strong> GUIDE 49