Todd has started the lesson with a short explanation on generalized entities which is looks like we will be revisiting at a later date, then he has started to explain to us two different problems that can be encountered in ER models; Fan traps & chasm traps. The general take I am gathering is that linear built databases cant create errors in your database, generally a database would be build in a more circular fashion. Following this he has moved into discussing generalized & specialized entities, by modeling it with a picture on the board. The concept feels similar to the concept of OO programming with abstract classes and classes below that that then inherit the default attributes of the base class as well as adding their own unique requirements. His diagram on the board is demonstrating the way to model this form of "inheritance" in an ER model diagram, the highest level entity is called the "generalization" and the entities below it are called ...
Comments
Post a Comment