Typo in docs regarding adding Audit.EntityFramework without inheritance?
See original GitHub issuehttps://github.com/thepirat000/Audit.NET/tree/master/src/Audit.EntityFramework#without-inheritance
There’s the following code
public class MyContext : DbContext
{
private static DbContextHelper _helper = new DbContextHelper();
private readonly IAuditDbContext _auditContext;
I believe that static
shall not be there, since in AuditIdentityDbContext
it’s not static.
And personally I had issues with Audit.NET EFCore in multi-threading environments with DbContextHelper being defined as static.
Am I wrong, or is it really a typo in a Readme?
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
What's New in EF Core 6.0
This allows historical data to be queried, such as for auditing, or restored, such as for recovery after accidental mutation or deletion. EF...
Read more >Is it possible with Audit.EntityFramework to ignore inserts ...
I want to use Audit.EntityFramework with EntityFramework Core but ignore inserts in audit logs only for some entities. I cannot find any info ......
Read more >EF Core Database Migrations - ABP Documentation
It defines a [ConnectionStringName] attribute which tells ABP to always use the Default connection string for this Dbcontext . It inherits from the...
Read more >Dixin's Blog - EntityFramework.Functions: Code First ...
Functions library implements Entity Framework code first support for: Stored procedures, with: single result type multiple result types …
Read more >Entity Base Class
There is no need for a single base entity class when you work with multiple projects or bounded contexts. Each domain has its...
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
Thanks, it works! I also agree that having a
MatchTransaction
configuration option would significantly simplify things 😃Thanks for your efforts put in the library and extremely quick responses!
I could prepare a minimal repro, yep