Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DatabaseKey Question
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00795796
Message ID:
00796374
Vues:
11
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform