how can I swap Entity Framework connection strings easily when I test on different servers (i.e. different databases) - at the moment it is a bit tedious going into the design parameters and trying to swap back and forth each time I change.
views:
102answers:
2
+2
A:
Use the ObjectContext constructor that takes a name of the app.config entry and hold several app.config entries for the necessary databases.
Devart
2010-05-20 12:00:46
it's a winforms app actually Craig
Greg
2010-05-20 21:16:22