C
C#3mo ago
v0fbu1vm

Audit Trails

How would I go about implementing an audit trails system in my ef core web api. I need to track, when something is changed, by whom, when etc. Does anyone have an example?
3 Replies
Angius
Angius3mo ago
Could use a query interceptor
v0fbu1vm
v0fbu1vmOP3mo ago
Is it wise to store a snapshot of the entity before changes and one after. I was thinking of storing them as json.
Angius
Angius3mo ago
Temporal tables

Did you find this page helpful?