Click here to Skip to main content
15,890,741 members
Articles / .NET

Set the connection string for Entity Framework at runtime

Rate me:
Please Sign up or sign in to vote.
3.85/5 (20 votes)
2 Aug 2011CPOL 159.9K   12  
This shows how to set or change the connection string for Entity Framework at run time (programmatically)

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
Web Developer
Iran (Islamic Republic of) Iran (Islamic Republic of)
I hold a BS degree in software engineering and am a Microsoft Certified Solution Developer(MCSD).
I have more than 8 years of experience in .NET developement, mostly web develop using C# and ASP.NET.

Comments and Discussions