Today we're developing a solution for Windows environments with SQL Server CE and Entity Framework 6.13 as ORM (Code First). However we're studying the availability to port it to Linux environments and, of course, as Linux doesn't support SQL Server databases, we intend to use SQLite on Linux machines and continue using SQL Server on Windows machines. And the solution (.sln) will be the same for both environments.
So, is possible to have an Entity Framework model connecting with multiple databases (SQLServer, SQLite,..)? Should I create a model for each database?
For this scenario, is NHibernate a better solution than Entity Framework? Or is there anything else?
I've already found a couple of answers about that, but no one recently.
Ps: code first is not necessary and we're open to change it if needed.
Many thanks! :-)