Akhil Mittal

Akhil Mittal

  • 61
  • 26.7k
  • 7.6m

Multiple databases in single Entity Framework application

Jul 23 2014 5:10 AM
How can I switch between multiple databases using Entity Framework.
The name of the databases will be coming in a drop down list and on selecting the dropdown list item I need to connect to that particular database using Entity Framework.
What is the best solution? Do EF provide any configuration for achieving this? How should the application be configured?

Answers (1)