Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Factory Objects - practical application
Message
De
14/12/2006 17:00:16
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
14/12/2006 15:35:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01177742
Message ID:
01177815
Vues:
29
>You could add an additional parameter that passes the current data session id to the class, then use SET DATASESSION.

That would require me to remember the current datasession - via an object instantiated via a factory inside the factory ;)

then set datasession, create the object

and then the object that remembered the data session would automatically reset the datasession.

What is the value of having a single factory object instantiated at app startup? Hmmm? :)

>
>>Hi Craig
>>
>>Long time no see.
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform