I recently started a project that uses an entity infrastructure with two databases, one Oracle and one SQL Server. I could not find any information about cross-database or support for multiple databases in the entity infrastructure.
Most of the messages from the MS Entity team are a couple of years old and indicate that the inclusion of two databases in one model is not a feature that will be included in the near future. I would be interested to receive a specific answer on whether it was included in 2010 myself, although I suspect that the answer is no.
Currently, the project bypasses this limitation by having a separate entity model for each database. This solved the problem for most of the scenarios that we encountered at the moment in the project.
In those cases when we needed to simultaneously request data from two databases, we simply created a view in one or other databases. Since we use Oracle and SQL Server, Linked View (SQL) or DBLink (Oracle) will be used in this view.
The drawback of the views in the entity infrastructure is that we had to spend more time than I expected the main working keys to work.
Hope this helps.
Dean
source share