>>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