How to support multiple Database at Entity Framework Core
Posted: Fri 09 Jul 2021 09:17
Hello.
I have implemented multiple DB support in a single .NET Framework 4.6 project with DB-First EDMX way at Entity Framework 6.
Now, I will covert my existing app to.NET 5 app using Entity Framework Core including Code first migration. I want to support MSSQL, Oracle, MySQL in a single .NET 5 project by changing DB connection string only.
I have already purchased latest DotConnect for Oracle and MySQL.
Could you please let me know how I can support multiple Database in a single .NET 5 project?
Best regards.
I have implemented multiple DB support in a single .NET Framework 4.6 project with DB-First EDMX way at Entity Framework 6.
Now, I will covert my existing app to.NET 5 app using Entity Framework Core including Code first migration. I want to support MSSQL, Oracle, MySQL in a single .NET 5 project by changing DB connection string only.
I have already purchased latest DotConnect for Oracle and MySQL.
Could you please let me know how I can support multiple Database in a single .NET 5 project?
Best regards.