I am building a MVC 4 with Data Entity web app. The app need to connect two database that are in the same db server. I need to use the data from database 1 to search the data on the database 2. For a good practice and performance, should I have two DbContext or one?
Thanks for your help!
You would need two separate connection strings and connections, so use two different contexts and query one based on the results from the other.