Development Cycles
  Home arrow Development Cycles arrow Page 2 - Entity Relationship Modeling
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DEVELOPMENT CYCLES

Entity Relationship Modeling
By: Alf A. Pedersen
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 53
    2004-04-05

    Table of Contents:
  • Entity Relationship Modeling
  • The Entity
  • Other Business Contacts
  • Attributes in entities
  • Business Rules
  • Three types of relationships
  • Supplier Entity
  • A Weak Relation
  • A Useful Relation
  • Involuted (or recursive) relationships
  • Many-to-Many
  • The Database Analysis Team - A Teamwork
  • Level of Knowledge
  • Experience vs. Inexperience
  • Complete Model?
  • Building Queries
  • Other Common Errors in ER Modeling
  • Second Normal Violation
  • More Specific
  • Generic or Specific Models?
  • Analysts Experience

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Entity Relationship Modeling - The Entity


    (Page 2 of 21 )

    The single entity-As we define different entities, we find that we are digging deeper and deeper into the problem domain of the business we are modeling. The more we, as system analysts, interact with the business we are modeling with, the more information we find belong in different entities. This is how the process works. 

    You should not be afraid to create new entities, if so just as placeholders for ideas. In the analysis phase we need not be concerned about it; the analysis phase is where we test out ideas, new questions, and eventually evolve towards a solution which is sound, correct, and shows the business as it really is (or as we would like it to be).

    It is also a good idea to create attributes as they are coming up. Again, they can be evaluated and thrown away later if we really do not need them. With a good ER modeling tool, your ER diagram may be thought of as a sketchbook, especially in an early phase of analysis.

    Single entities are relatively easy to spot: An account is something different from transactions or balances, and a customer is something different from an order. However, customers and orders are related to each other through relationships, as well as accounts are related to transactions and balances. Sometimes we may enter a dilemma, when two or more entities actually look very similar: What is really the difference between a customer and a supplier?

    Both entities have some form of identification; they both have a name, address, telephones, contact persons etc. We may even have a discount system for our customers, and our suppliers also give us some discount mechanisms. The two are really quite like.

    In our analysis work, we have two mechanisms for dealing with such uncertainties.

    The super-entity and the sub-entity-If we first draw an entity we call BUSINESS CONTACT, and then draw two or more entities inside the BUSINESS CONTACT entity, then BUSINESS CONTACT becomes a super-entity, and the others become sub-entities of BUSINESS CONTACT. The purpose of this is to verify if we really are talking about different kinds of contacts:

    entity relationship

    As we add attributes into this model, we must ask ourselves: The attribute I am about to create; is it valid for all the sub-entities, or is it specific to only one (or two...) of the sub-entities? If the attribute is valid for all sub-entities, we place it in the super-entity in stead.

    More Development Cycles Articles
    More By Alf A. Pedersen


     

    DEVELOPMENT CYCLES ARTICLES

    - Division of Large Numbers
    - Branch and Bound Algorithm Technique
    - Dynamic Programming Algorithm Technique
    - Genetic Algorithm Techniques
    - Greedy Strategy as an Algorithm Technique
    - Divide and Conquer Algorithm Technique
    - The Backtracking Algorithm Technique
    - More Pattern Matching Algorithms: B-M
    - Pattern Matching Algorithms Demystified: KMP
    - Coding Standards
    - A Peek into the Future: Transactional Memory
    - Learning About the Graph Construct using Gam...
    - Learning About the Graph Construct using Gam...
    - Learning About the Graph Construct using Gam...
    - How to Strike a Match







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
    Stay green...Green IT