>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