You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to be able to persist the models in the database EventStoreDB.
A persistence layer should be added.
The models should be updated to be event sourced.
The text was updated successfully, but these errors were encountered:
Fixes#16
Add a persistence layer for EventStoreDB to persist models.
* **EventStoreRepository.cs**: Add a new class `EventStoreRepository` to handle persistence with EventStoreDB. Implement methods for saving and retrieving events using EventStoreDB client.
* **EventStoreConfiguration.cs**: Add a new class `EventStoreConfiguration` to configure EventStoreDB. Include connection settings and initialization logic.
* **WorkoutRecords.Infrastructure.csproj**: Add a new project file for the infrastructure layer. Include the latest version of the EventStoreDB client package.
* **workout-records.sln**: Add the new `WorkoutRecords.Infrastructure` project to the solution and update the solution file to include the new project reference.
* **CRUD Models**: Delete the CRUD models `Movement.cs`, `Workout.cs`, `WorkoutMovement.cs`, and `WorkoutRecord.cs` from the `src/WorkoutRecords.Domain/CRUD` directory.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/jhiben/workout-records-api-dotnet/issues/16?shareId=XXXX-XXXX-XXXX-XXXX).
I want to be able to persist the models in the database EventStoreDB.
A persistence layer should be added.
The models should be updated to be event sourced.
The text was updated successfully, but these errors were encountered: