BaseRepository takes an ILogger via its constructor and logs the failing file path and exception in Save's catch block before rethrowing. Every concrete repository takes ILogger<ThisRepo> and passes it up so failures are categorised by repository type. Pulls Microsoft.Extensions.Logging.Abstractions into the Db project. TransactionRepositoryTestShould and AccountRepositoryTestShould pass NullLogger<T>.Instance. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| AccountRepository.cs | ||
| BankTransactionRepository.cs | ||
| BaseRepository.cs | ||
| BookingRuleRepository.cs | ||
| BookingTextRepository.cs | ||
| SplitPredefinitionRepository.cs | ||
| SubclassRepository.cs | ||
| TransactionRepository.cs | ||