
#dotnet #efcore #auditing #cleancode | Romain Ottonelli Dabadie | 38 comments
Every entity in your system needs `๐ช๐๐๐๐๐๐ ๐จ๐` and `๐ผ๐๐ ๐๐๐๐ ๐จ๐`. Stop setting them manually in every service. Auditing fields โ created/updated timestamps, user tracking, soft-delete โ are cross-cutting concerns. Scattering `๐๐๐๐๐๐.๐ผ๐๐ ๐๐๐๐ ๐จ๐ = ๐ซ๐๐๐๐ป๐๐๐.๐ผ๐๐๐ต๐๐` across your codebase means you'll eventually miss one. EF Core interceptors hook into `๐บ๐๐๐๐ช๐๐๐๐๐๐` and handle it automatically โฌ๏ธ One interceptor. Every save covered. Your services never think about audit fields again. #dotnet #efcore #auditing #cleancode | 38 comments on LinkedIn








๐EF30