-
Notifications
You must be signed in to change notification settings - Fork 13
Changing DBMS
Cory Gehr edited this page Apr 24, 2020
·
1 revision
By default, the CovidSafe Backend uses Azure CosmosDB due to its native ability to scale, making management fairly simple.
This project utilizes the repository pattern to quickly enable support for different database management systems. In theory, most developers would only need to do the following:
- Create a new class which implements the
IMatchMessageRepositoryinterface completely. - Build any required helper classes for connecting to the new database provider.
- Add new settings required for things like connection strings.
- Update
Startup.csunder theDatabase Configurationregion to ensure .NET Core's native Dependency Injection services utilize the added implementation.