Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to intercept the use of a connection string in code
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00885857
Message ID:
00886290
Views:
8
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
Previous
Reply
Map
View

Click here to load this message in the networking platform