Effort EF6 alter app config connection strings for testing

82 views Asked by At

My project has it's connection strings in the app.config. DBContexts are instantiated with using (var myContext = new MyContext("name=MyContextConnectionString")) { ... } and the operations are done inside the using scope.

How should I alter the config file during (test) runtime to make all of MyContext Instances use the same Effort Connection?

0

There are 0 answers