Entity Framework 5 mixing Oracle & SQL Server Entity Framework 5 mixing Oracle & SQL Server oracle oracle

Entity Framework 5 mixing Oracle & SQL Server


My code started to work when I moved the Oracle DB connection and query into a separate method.

I was under the impression that I should keep the Oracle connection open for all queries because it would be inefficient otherwise, but apparently this is actually done automatically under the hood. Now that the scope of the two connections are entirely separate it is working.

Why? No idea...