السلام عليكم ورحمة الله وبركاته
إخوانى أخواتى الكرام...
طالبة منكم مساعدة فى قواعد البيانات
ياريت حد يعطنى نبدة لابأس بها عن
ER Diagram
وأمثلة بسيطة عنها
بس ياريت تكون باللغة الإنجلزية
السلام عليكم ورحمة الله وبركاته
إخوانى أخواتى الكرام...
طالبة منكم مساعدة فى قواعد البيانات
ياريت حد يعطنى نبدة لابأس بها عن
ER Diagram
وأمثلة بسيطة عنها
بس ياريت تكون باللغة الإنجلزية
تم تعديل هذه المشاركة بواسطة الخارقة في 1 يونيو 2008 في 23:55
هذه بعض الروابط ان شاء الله تفيدك
Entity-Relationship Diagrams (ERD)
ويمكنك الحصول على اكثر من ذلك عند البحث في Google
وخاصة عن طريق Image في Google
I Say Nothing
The Entity Relationship Diagram
We can express the overall logical structure of a database graphically with an E-R diagram.
Its components are:
In the text, lines may be directed (have an arrow on the end) to signify mapping cardinalities for relationship sets. Figures 2.8 to 2.10 show some examples.

Figure 2.7: An E-R diagram

Figure 2.8: One-to-many from customer to account

Figure 2.9: Many-to-one from customer to account

Figure 2.10: One-to-one from customer to account
Go back and review mapping cardinalities. They express the number of entities to which an entity can be associated via a relationship.
The arrow positioning is simple once you get it straight in your mind, so do some examples. Think of the arrow head as pointing to the entity that ``one'' refers to.
Primary Keys for Relationship Sets
The attributes of a relationship set are the attributes that comprise the primary keys of the entity sets involved in the relationship set.
For example:
This is enough information to enable us to relate an account to a person.
If the relationship has descriptive attributes, those are also included in its attribute set. For example, we might add the attribute date to the above relationship set, signifying the date of last access to an account by a particular customer.
Note that this attribute cannot instead be placed in either entity set as it relates to both a customer and an account, and the relationship is many-to-many.
The primary key of a relationship set
depends on the mapping cardinality and the presence of descriptive attributes.
With no descriptive attributes:
.Descriptive attributes may be added, depending on the mapping cardinality and the semantics involved (see text).
اتمني ان تكون استفد من المعلومات.....وللامانه المعلومات منقوله...