Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Builder (of sorts)
Message
De
17/04/2003 05:19:18
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00778138
Message ID:
00778757
Vues:
14
>>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 :)

No didn't make much sense to me :)
If they're in same vcx adding just one into project would add all, right ?
If they've a common parent -say a dummy empty class-, adding any methods/properties to it would make those available to all, right ?
If both wrong then I'd write a builder -a builder could be a prg and need not be registered-:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform