Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SaveChangesWithTriggers doesn't work wiath AUDIT.Net #57

Open
firmin-oke opened this issue Jul 17, 2020 · 2 comments
Open

SaveChangesWithTriggers doesn't work wiath AUDIT.Net #57

firmin-oke opened this issue Jul 17, 2020 · 2 comments

Comments

@firmin-oke
Copy link

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
Copy link
Author

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

@NickStrupat
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants