Provide a way of using Audit.EntityFramework without inheritance from AuditDbContext
See original GitHub issuePlease provide a way of using Audit.EntityFramework
/ Audit.EntityFramework.Core
without inheritance from AuditDbContext
, which is not always possible or preferable.
Take a look at Z.EntityFramework.Plus as a possible example.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
How to include a Custom field into Audit.EntityFramework?
I'm using Audit.EntityFramework.Core, where I implement Auditing by Using DbContextHelper,IAuditDbContext and Overriding SaveChanges() and ...
Read more >Audit with Entity Framework Core
This is an interface, so I have to implement the fields. I know I can now inherit from IAudit and ValueEntity but if...
Read more >Creating Simple Audit Trail With Entity Framework Core
Create an entity to table mapper configuration as need. If we are doing code first without using any table configuration class, this is...
Read more >Audit Trail Implementation in ASP.NET Core with Entity ...
We will be creating an abstract Context class that inherits from the DBContext / IdentityDbContext of Entity Framework Core / Identity. In this ......
Read more >How to set up auditing in Entity Framework Core
In Entity Framework, entity auditing can easily be configured by overriding the SaveChangesAsync method. The rest of this blog post will detail ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The new version (12.2.2) includes a
DefaultAuditContext
class you can use to avoid inheritance. Also I’ve updated the documentation accordingly.I think that’s the most concise way of doing it. If you have any other suggestions about this, please reply.
@thepirat000 What about the original request about having more seamless out-of-the-box way to use
Audit.EntityFramework
without inheritance? With a proper docs about it? 😃