BUG: Incorrect Logical Database Model Is Generated When You Use the Create Table Inheritance Option in the ORM Source Model (814727)
The information in this article applies to:
- Microsoft Visio for Enterprise Architects (2002)
SYMPTOMSWhen you build an Object Role Modeling (ORM) source model
that contains a subtype object with the Create table inheritance
option enabled, the database model may be generated incorrectly. In the
database model diagram, the relationship between the subtype and supertype
tables may be shown as a category relationship, instead of a table inheritance
relationship. Also, the primary key may not be created for the subtype
table. When you perform an error check on the database model, you may
receive error messages in the output window that are similar to the
following: Starting Logical Validation...
ORMTABLEINH.VSD : error C2118: 'EmployeeB' : Table/Entity has no primary
identifier defined. ORMTABLEINH.VSD : error L3001:
'EmployeeA_EmployeeB_FK1' : Parent column(s) not specified.
ORMTABLEINH.VSD : error L3002: 'EmployeeA_EmployeeB_FK1' : Child column(s)
not specified. ORMTABLEINH.VSD : error L3016: 'EmployeeA_EmployeeB_FK1' :
Relationship must exist between a primary key or an alternate key designated as
unique constraint. ORMTABLEINH.VSD : error L3021:
'EmployeeA_EmployeeB_FK1' : Category relationship must be from the parent
primary key to the child primary key, and both primary keys must be the same
size. Logical Validation complete - 5 error(s) 0
warning(s) REFERENCESFor more information about how to create ORM source models by
using Visio for Enterprise Architects, visit the following Microsoft
Developer Network (MSDN) Web site:
Modification Type: | Major | Last Reviewed: | 8/6/2003 |
---|
Keywords: | kbpending kberrmsg kbInheritance kbDesigner kbDatabase kbbug KB814727 kbAudDeveloper |
---|
|