AccountingNext/Schaad.Accounting.Db/Repositories
Claudio Schaad 1c7ba7f416 PR D: per-scope repository cache
Add a Scoped RepositoryCache that memoizes deserialized XML lists,
keyed by absolute file path. Each XML file is loaded at most once per
SignalR circuit; Save invalidates the corresponding entry so
subsequent reads reload from disk.

BaseRepository gains a LoadList<T>(fileName) helper; each of the seven
repositories now defines Get*List() as a one-liner over that helper
and takes RepositoryCache via the constructor.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-02 20:52:24 +02:00
..
AccountRepository.cs PR D: per-scope repository cache 2026-07-02 20:52:24 +02:00
BankTransactionRepository.cs PR D: per-scope repository cache 2026-07-02 20:52:24 +02:00
BaseRepository.cs PR D: per-scope repository cache 2026-07-02 20:52:24 +02:00
BookingRuleRepository.cs PR D: per-scope repository cache 2026-07-02 20:52:24 +02:00
BookingTextRepository.cs PR D: per-scope repository cache 2026-07-02 20:52:24 +02:00
SplitPredefinitionRepository.cs PR D: per-scope repository cache 2026-07-02 20:52:24 +02:00
SubclassRepository.cs PR D: per-scope repository cache 2026-07-02 20:52:24 +02:00
TransactionRepository.cs PR D: per-scope repository cache 2026-07-02 20:52:24 +02:00