Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Role Definition
Message
De
10/03/1999 14:19:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00195986
Message ID:
00196014
Vues:
33
Hi Jim ---

Yup, that's basically it. I have it modeled like:
                Entity(a)            Role-Relationship(b)
                |   |                       |
                --------{Join 2a1b}----------

The problem is that I can't seem to wrap my arms around defining this OOP.  Entity is the class, a row is the instance and ...well....see?

>
>Let's assume People (each record is one person), Relatives (relation form people to people) and relationship (nature of the relationship).  We might have a structure like this;
>
><PRE>
>People ----> Relations ------> Relationships
>                 |-----------> People_A
>
>
>Seen from the relations table it would be;
>
>
>Relations -------------> People
>   |-------------------> People_A
>   |-------------------> Realtionship
>
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform