Update README with relationships.

This commit is contained in:
Kevin Matsubara 2025-04-07 10:53:03 +02:00
parent 42edf6cccf
commit c73a72204d

View File

@ -122,3 +122,11 @@ The following states are tracked in the `EntityState.State` property:
* **Deleted**: the entity is in the database, but is marked for deletion. * **Deleted**: the entity is in the database, but is marked for deletion.
The `Find` functions require tracking, instead, use the `First` function, with a lambda for the ID. The `Find` functions require tracking, instead, use the `First` function, with a lambda for the ID.
## Database
### Relationships
* A **League** has one or more **Teams** (1:M)
* A **Team** has one **Coach** (1:1)
* **Matches** are played by many **Teams** (M:M)