How to set the connectionstring at runtime of a dbcontext in Entity Framework 4.2
If you want to set the connectionstring for a dbcontext, when using EntityFramework 4.2, just create a partial class for the specific dbcontext and add a constructor that call’s de dbcontext constructor with connectionstring. Now