Skip to content

Replace the custom DBMS in Core.Data with EF Core and SQLite #12

@0xlsca

Description

@0xlsca

Currently, the GameServer and WebHost lack data acquisition from a database.
Core.Data appears to contain a custom, unfinished implementation.

I propose that instead of going with a custom implementation, replacing it with EF Core and SQLite should be considered.
Not only does the implementation of a custom DBMS come with heavy initial effort, but it also requires the implementing people to stick around and document the implementation so it can be picked up by others in case changes need to be made.

As a replacement, EF and SQLite seem to be highly viable, primarily because EF is an easy to use and well documented ORM and SQLite being a relational DBMS, essentially keeping the knowledge required for working on the database to a minimum.

Another quality of EF is the creation of migrations and as far as I understood it, this essentially allows us to switch to a different DBMS should the need arise (e.g. MariaDB or MSSqlServer).
SQLite is a good choice for the time being since it doesn't require any installation on the developer's side.
The project setup would remain unchanged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions