Reply to Re: sql code for UML composition relation - anyone?

Your name:

Reply:


Posted by fireball on 01/22/07 10:06

Bill thx for your time!

Your example looks like aggregation 1:many, that's correct - but the problem
is I need to create _strong_ aggregation (=composition) 1:many,
distinguishing from simple (weak) aggregation, your example seem to realize:

So I created two relations in my Rose:
a) aggregation (empty diamond) 1..*
b) composition (filled diamond( 1..*
and then I transformed it to data mode: And what I got?

a)
ParentTable
------------
ParentID (PK)

ChildTable
------------
ChildID (PK)
ParentID (FK)

b)
ParentTable
------------
ParentID (PK)

ChildTable
------------
ParentID (PFK)

which means for me 1:1, (and telling the truth, looks like
generalization/specialization - am I correct or not?)



TIA for further discussion

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация