Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scoping of class property
Message
 
À
21/12/2005 12:58:48
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01079106
Message ID:
01079990
Vues:
54
Why dont you create a connection factory class and you pass same enum value to it (sql,oledb etc) and the factory will return a connection interface. Then you cast that interface to whatever concrete type you want.
You can use same approach without passing the param but getting the params for factory from your ini file.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform