

This is for students, He has attributes ( The learning database has a summary attribute ), How do you give this student Add attributes ? The following figure is the official document ER Illustration exampleĮ-R chart Baidu Encyclopedia 2 starUML Help with database design ( Very important ) This paper introduces the in StarUML A basic ER Drawing, Examples of several relationships between entities are also given. In the left column Entity-Relationship Connection selection with entity relationship inĮg Many to many situation, Click on Many to Many Relationship, Then click on an entity, Press and hold the left mouse button, Drag onto another entityĬlick to connect, It can be on the right Editors More settings in You can also use length Set the length of the property type On the left : Set primary key, On the right : Add attribute, Delete attribute, Move upward, Move downĪfter adding properties, Click properties, Can be in Editors Of Properties Click on the type Add types to attributes In the picture, Right click the entity and select Add->Columnĭouble click the entity properties, Some shortcut operations can be realized

Many to many :a The collection and B aggregate, I am here a Select multiple objects, It can be done with B Objects in to correspond to them. stay A Select any specific entity in this set, stay B Select several different entities in the set, With the corresponding, This is called one to many. One-on-one : A student to a student number, One student to one student id Ĭonstitute E-R The three basic elements of a diagram are Solid type 、 attribute and contact.
STARUML GENERATE MYSQL SOFTWARE
The whole thing is using software starUML 1 Use StarUML draw E-R chart 1.1 ER chartĮ-R Graphs are also called entities - Contact diagram (Entity Relationship Diagram), Provides representation entity types 、 Properties and contact methods, A conceptual model used to describe the real world. 2 starUML Help with database design ( Very important ).
