Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to intercept the use of a connection string in code
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00885857
Message ID:
00886290
Vues:
9
Clay,

>How can I intercept the connection string and stuff in a user id,password and database name dynamically before it is used my application?

The connection string is retrieved and set in the business object's GetDataAccessObject() method. If you look at this method in mmBusinessObject, you'll see it makes a call to the databsae manager's GetConnectionString method. Within this method, it already has code that retrieves the current user id and password from the user manager.

Let me know if you need more info

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
Répondre
Fil
Voir

Click here to load this message in the networking platform