Consider an association between a Sales class and an Inventory class
in a Unified Modeling Language (UML) Class diagram. The multiplicities next to the Sales class are 0..* and the multiplicities next to the Inventory class are 1..*. Which of the following is the best way to implement that association in your database?
(a) Post the primary key of Sales as a foreign key in Inventory.
(b) Post the primary key of Inventory as a foreign key in Sales.
(c) Creating linking table.
(d) None of the above.
Questions & Answers
Have a Question?
Be the first to ask a question about this.