EntityFramework.Triggers icon indicating copy to clipboard operation
EntityFramework.Triggers copied to clipboard

SaveChangesWithTriggers doesn't work wiath AUDIT.Net

Open firmin-oke opened this issue 5 years ago • 2 comments

Hi, When i override SaveChange and call SaveChangesWithTriggers. AUDIT.NET Library does not store event in database. is it possible to undertant how SaveChangesWithTriggers Work exactly ? When i remove the override saveChange all work fine.

Example :

 public override Int32 SaveChanges()
        {
            return this.SaveChangesWithTriggers(base.SaveChanges,_serviceProvider, true);
        }

firmin-oke avatar Jul 17 '20 01:07 firmin-oke

Link of AUDIT.NET Library on github https://github.com/thepirat000/Audit.NET

firmin-oke avatar Jul 17 '20 01:07 firmin-oke

My apologies, I did not see this issue until now. Were you able to resolve it?

NickStrupat avatar Oct 02 '20 00:10 NickStrupat