EntityFramework Diff Log
An easy way to create entity changes’ log using Entity Framework
Every developer tries to find ways to make the user’s life simpler. And I believe that it should always be one of the main targets for any system. But I think that we can help other people too: the developers themselves.
It’s quite common that when we create a project, there are several things that we have to do. We have to think about the architecture, how the system will communicate with external providers, how we will do the communication with the database. So many questions, and we usually follow some guidelines or use the same steps from some previous projects.
However, this can bring some inconveniences: suppose you developed some code and you found a problem. You will fix the bug on this project, and you will have to go to every project to change it. Or not only that, but you are bringing to your project something that it’s not its concerns.
For example: imagine that you create a system that controls a school. Your logic will have to handle several things, like students’ information, teachers, classes, rooms, available seats in each room, time of classes, students’ grades, and in more advanced systems, even some logic to avoid too much-crowed classes near each other on the same time.
In our opinion, if you can have some features without have to worry about it, that’s a perfect scenario. And that’s why we love to create libraries. And because of that, we create our second library: the EntityFrameworkDiffLog.
What is the EntityFrameworkDiffLog?
If you are not a developer, this will be a little bit more complicated to explain, but we will try. When developing your system using the Microsoft tools, like the .Net Framework, you can use one thing call EntityFramework. This EntityFramework (or only EF) is responsible for connecting your system to the database.
The EntityFrameworkDiffLog creates an “interception” point that gots all the information that the system is changing (inserting, updating, or deleting) and creates an automated log about these operations. All of that with minimum effort to the developers.
I’m a developer. Where can I see more?
The best way to see how to use is going to our GitHub and taking a look no the ReadMe. There you will find all the necessary information to configure and start using the EntityFrameworkDiffLog.
How much do I have to pay to use the EntityFrameworkDiffLog library?
That answer is so simple that it looks a lie: nothing. The EntityFrameworkDiffLog is an open-source library!