Ray's Asp.net Blog
Answers and code snippets from ASP.NET projects (Webforms/MVC/Classic ASP)
Pages
Event registration app with QR/Paypal
Home
Thursday, December 20, 2012
How to change entity framework connection string dynamically
Use constructor with connection string
http://msdn.microsoft.com/en-us/library/bb739017.aspx
var db = new dbContext(connectionString);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment