Click here to Skip to main content
15,893,337 members
Articles / .NET

Set the connection string for Entity Framework at runtime

Rate me:
Please Sign up or sign in to vote.
1.00/5 (1 vote)
18 Nov 2011CPOL 11.9K  
The first instruction in .NET 4 becomes:string connectionString = System.Configuration.ConfigurationManager. AppSettings.Get("ConnectionString");

Views

Daily Counts

License

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


Written By
Belgium Belgium
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions