Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Builder (of sorts)
Message
 
À
16/04/2003 03:22:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00778138
Message ID:
00778658
Vues:
19
>Jamie,
>Honestly couldn't understand well, let's try anyway :)
>
>*Biz.vcx
>   CBizBase
>      |
>      +-CBizObj
>      +-CBizCustomer
>            |
>            +-CBizCustomerLocal
>            +-CBizCustomerRemote
>
Wouldn't end in only adding one vcx to project and common methods/props in higher level class ?
>Cetin

The remote and local data objects are quite different and aren't subclassed from the same parent. The local data object has access directly to the VFP database whereas the remote one makes calls to a WebConnection server. Both data classes end up giving the same thing to the cbusCustomer object.

My question is - is there a clever way to enable me to add a new cbusWhatever class to my project and automatically add a cdatWhateverLocal and cdatWhateverRemote object at the same time - and even better, can I add the cbusWhatever class with some methods - and automatically add those methods into the 2 cdat classes.

I hope this made some sense :)
Cheers,
Jamie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform