I have an assignment for developing a hotel reservation system! One of tasks is to develop UML class diagram! However, in the task description it is written \"Class diagra
The language of UML class diagrams can be used for many different purposes. For instance, for making
Each of these different types of models uses only certain UML class modeling elements, and not others. For instance, in SQL data models we don't use
In fact, since SQL does not really have any explicit association concept, but only the concept of foreign key dependencies, which can be used for representing functional associations, we better shouldn't use any association in an SQL data model, but rather dependency arrows corresponding to foreign key dependencies.
It also makes sense to define two stereotypes for use in SQL data models:
See this tutorial for more information.