EF 5 Changing Connection String at Runtime December 17, 2023 by Tarik Use the context constructor overload that takes the connection string as a parameter.