Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Beginner - Business object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00612101
Message ID:
00623121
Vues:
25
Hi,
Thank you for your reply and sample.
I used to reivew the code and re-think my design. I havd some question on it:

1. If all of my data source class is subclass of SESSION. How did I manage transaction? Assume, I have a sales here. So, the data invloved may have salesorder, lineitem and inventory. Since 3 of them are in different datasession, how to manage transaction here? If I call BEGIN TRANSACTION for all of the session, how could I rollback if one of the END TRANSACTION fails?

2. In your sample, you are calling BEGINTRSAN() for each object involved. Why you pass datasessionID to it?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform