- EF, with its equivalent in spring
- DbContext vs DBContexOptions
- unit of work + repo
- DbSet
- Migration
- What is it and why to use it ? Is it older way or the newer way ? Do i use it in prod ?
- dotnet ef migrations add InitialCreate —output-dir Data/Migrations
- dotnet ef database update
- Seems similar to sql scripts to create db in h2. is it needed for prod level db too ?
- var dbContext = scope.ServiceProvider.GetRequiredService();
- required vs readonly
- Why passing GameContext and not DBContext itself (datasource)
