Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DAO without app.config
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01263508
Message ID:
01263946
Vues:
9
Viv,

>How would I create and configure a mmDataAccessSQL object without reference to an app.config ? (Connection string needs to be dynamically constructed as runtime)..

If it's just the connection string you want to specify dynamically, you can override ABusinessObject.GetConnectionString() and put your alternate logic in this method.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform