How do I create a Solution Wide Connection String

Posted by Renier on Stack Overflow See other posts from Stack Overflow or by Renier
Published on 2010-04-12T09:17:49Z Indexed on 2010/04/12 9:23 UTC
Read the original article Hit count: 360

Filed under:
|
|
|
|

Hi.

Does anyone know if it is possible to create a single connection string that will be accessible to all the projects in a solution (we have about 6). I can create a text file with this information, but we need design time support as well, and it is not practical to have a connection string in every App.Config and Web.config file in the solution. We basically want a Single connection string that is easy to change should the location of the db change, that will also be used by the IDE for design time support

Regards, Renier

© Stack Overflow or respective owner

Related posts about global

Related posts about connection