Showing relations between entities. A person may have zero, one or many friends. A person may own zero, one or many cars while a car may only be owned by one person. 
Please note that not all possibilities for relations are shown in this relatively simple example. Tree-structures and many-to-many relations are also possible with panSL. See the concept SubName for how you may specify roles like "Owns" and "Is owned by" in relations.
Person 
Name 
Address 
Friend RelationMany
CarOwner RelationMany
Car 
Mark 
Model 
CarOwner RelationOne
Note that in addition to generation of ER-Diagram the panSL Implementation AgoRapide may also be used to also generate database-schema (SQL) and source code for a variety of programming languages, tools and development architectures.
Last updated 2012-05-02