Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DatabaseKey Question
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00795796
Message ID:
00796374
Views:
12
>Is it possible to assign the DatabaseKey in the main application project instead of the business object project. I have multiple application projects that uses the same business object project, but connect to different database for testing. Currently the DatabaseKey is hardcoded in the business object base class, is it possible to override that somewhere in the main application project?

Jason (as usual) is right on the money. I designed Database sets to do just what you're attempting. You can use the same database key but connect to different databases.

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