Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Factory Objects - practical application
Message
De
14/12/2006 17:07:55
 
 
À
14/12/2006 17:00:16
Mike Yearwood
Toronto, Ontario, Canada
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:
01177816
Vues:
25
For many things, the DataSession doesn't matter. In the example you gave, it does, so it may make sense to instantiate another one or pass the DS ID.

>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? :)
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform