关于[Working with multiple databases using .Net 5.0 and Entity Framework Core 5.0]的摘要:
The first question definitely comes in mind, why use multiple databases ? Well it is good to have database vendor independent backend so that you can swap it out whenever it is required. Or you may have a client who wants their data in a particular database vendor. That’s where ORM comes into picture. ORM like Entity-Framework allows you to talk to multiple database with ease. This article is about using Entity Framework to achieve this and I can say it is very very simple. Shall we start ? Here we taking SQL Server and Postgres DB as an example.