Click here to Skip to main content
15,890,579 members
Articles / Database Development / SQL Server

Creating Simple Audit Trail With Entity Framework Core

Rate me:
Please Sign up or sign in to vote.
4.39/5 (6 votes)
11 Apr 2020CPOL4 min read 41.4K   934   9  
Store all data change history in a table using Entity Framework Core
In a project using Entity Framework, we had to log data changes that any end-user made without introducing many code changes to the existing solution. In this article, you will see how to do this inside the SaveChanges() method.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Bangladesh Bangladesh
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions