RenanKummer / ufrgs-exatolp-webapi

Web APIs for corpus linguistic research in Brazilian Portuguese
0 stars 0 forks source link

[Dev] Map DB Schema to Entity Classes #3

Open RenanKummer opened 9 months ago

RenanKummer commented 9 months ago

As a developer, I want to map the database schema to entity classes in Entity Framework Core, So that database objects are created and accessible by the application.

Acceptance Criteria:

Assumption:

RenanKummer commented 6 months ago

Currently the entities User, Group, Permissions and the many-to-many associations have been correctly mapped.

I faced some challenges with EF Core Fluent API to map the associations since I didn't want to expose redundant ID properties, thus requiring understanding how to use shadow properties.

RenanKummer commented 6 months ago

The entities Domain, Term, Tag, TermExample and many-to-many associations have been correctly mapped.