Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Object
Message
 
À
26/05/2001 17:29:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00511773
Message ID:
00511860
Vues:
19
>Alex,
>
>>Hmmmmm.... Mere Mortals does it through cursors.
>
>Not for COM operation in a physically-distributed n-Tier design.

Sure, but I'd venture a guess that most VFP "n-Tier" apps are logical n-Tier, not physical. It's not clear from the original question which he was asking about. In Mere Mortals, it doesn't matter. The middle tier business object deals with native VFP cursors. It handles the translation to ADO or XML for you, if necessary.

If this is just a logical n-Tier, I'd create a third object that managed the other two, then you can wrap both objects into a transaction. One of the major limitations of VFP when doing something like this is that you can't requery inside of a transaction. It makes writing "black box" code that can be wrapped inside of a transaction nearly impossible. I've run into this more than once while trying to create an object to facilitate collaboration between objects. Too bad.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform