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

Thread is closed for posting
2 posts, 0 answers
  1. Rafael
    Rafael avatar
    5 posts
    Member since:
    Sep 2008

    Posted 22 Jun 2010 Link to this post

    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


  2. Ady
    Admin
    Ady avatar
    589 posts

    Posted 23 Jun 2010 Link to this post

    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
Back to Top