Click here to Skip to main content
13,288,104 members (63,940 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


Posted 18 Nov 2011

Set the connection string for Entity Framework at runtime

, 18 Nov 2011
Rate this:
Please Sign up or sign in to vote.
The first instruction in .NET 4 becomes:string connectionString = System.Configuration.ConfigurationManager. AppSettings.Get("ConnectionString");

The first instruction in .NET 4 becomes:

string connectionString = System.Configuration.ConfigurationManager.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Belgium Belgium
No Biography provided

You may also be interested in...

Comments and Discussions

Questionjust getting Pin
calamar88816-Dec-13 8:16
membercalamar88816-Dec-13 8:16 
GeneralMy vote of 1 Pin
Phil_Murray18-Jul-12 0:41
memberPhil_Murray18-Jul-12 0:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.171207.1 | Last Updated 18 Nov 2011
Article Copyright 2011 by RedAquarius
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid