Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Objects and Private Datasessions
Message
De
12/09/2003 15:23:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Business Objects and Private Datasessions
Divers
Thread ID:
00828647
Message ID:
00828647
Vues:
69
The nDataSession property of business objects is not being "honored" in my implementation. I'm not using COM - just a regular VFP app. Am I doing something wrong, or is this functionality reserved for special circumstances?

I need private datasessions because I have several levels of containership, and sometimes the same business object will be open twice. When you close one - well - that wipes out all the views used by the other objects of the same class in that datasession.

To get around this, I've created session-based interfaces (i.e. objects of type session) for a number of my classes, but this is cumbersome. Is there a way to get that private datasession functionality working?

On a related note, though, once the session based interfaces are created, they are awesome. It allows me to program to interface, a la other OO languages (i.e. C#), and I don't have to worry about accidentally programming to implementation. This would be a great thing to have in MM 8! Of course, I'm always open to alternative approaches.

Thanks!

David
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform