c22a1e2ffa2544e7f9a6ad4d81d5e725b319613d
After/: plain Client/Order (no DbBase), ClientDto/OrderDto records carrying the relations both ways, hand-written Mappers with a reference-identity cache for the back-reference cycle, DbContext with explicit Save(domain) via shadow entities (flipped dependency), and a WebApp that consumes only DTOs. AfterTests cover the 7 required behaviours; full solution builds with 0 warnings, 26/26 tests pass.
Description
exercise to refactor subclass to dto. also contains spike for extract method refactoring with Roslyn.
360 KiB
Languages
C#
97.2%
Shell
1.2%
Mermaid
1%
PowerShell
0.6%