This is a migrated thread and some comments may be shown as answers.

Manage database connection settings of web sites and web applications during deployment

1 Answer 56 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rafael
Top achievements
Rank 1
Rafael asked on 22 Jun 2010, 10:30 AM
Hi,

http://www.telerik.com/help/openaccess-orm/openaccess-tasks-howto-manage-database-connection-settings.html

This is just fine to centralize the connections used by OA.
Our WebSite uses a N-Tier architecture, so we have different projetcs for UI layer, Business Layer , DataAccessLayer and the Business Entities Common layer.
Each one of these projets that is OA enabled uses it's own app.config.

Question: after centralizing the connection on the web.config in the UI projet , how can i still do my reversemapping with the wizard on my Business.Entities project(its app.config is disable for OA as specified in the article.)

Rafael


1 Answer, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 23 Jun 2010, 01:48 PM
Hi Rafael,

 During design-time, to run the Reversemapping wizard, you can enable the Business.Entities project and specify the connection settings for the database that you want to reverse map. You can specify a different connectionid (say 'ConnectionDesigntime') from the one that you will use during runtime.
During runtime the connection from the web.config will be used since it would have a different connectionid.

All the best,
Ady
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Rafael
Top achievements
Rank 1
Answers by
Ady
Telerik team
Share this question
or