Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp vs Vb
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00283708
Message ID:
00284381
Vues:
21
Hi Jim...

You can achieve the same thing in VB with Implements..... One class that defines all of the base behaviors and interface, and three classes that each implement the interface and functionality of the first class and at the same time, each providing specialized behavior.

Wow, what a run-on sentence that was!!<bg>


>John,
>
>I know you already know this, but so what. If you can play devil's advocate, so can I :-).
>
>Middle tier data access design;
>
>
>cntBO  Base Business object class
>       Publishes an interface to the U/I layer
>
>   cntVFP Implements data access to VFP data
>
>   cntSQL Implements data access to SQL SErver
>
>   cntDB2 Implements data access to DB2
>
>
>And then, when the client says, "We need to get data from Sybase."
>
>
>   cntSybase Implements data access to Sybase
>
>
>There you see it, a silly advantage of inheritence in a middle tier object layer.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform