1

Just stumbled on this library (EF version) and looks very good. Just wondering if this is currently compatible with EF Core 2.1 as well as ambient transactions. I see that there is a onScopeCreated / onScopeSaving to handle transactions. Will this even be necessary if involved within an ambient transaction?

Los Morales
  • 2,061
  • 7
  • 26
  • 42
  • Note that OnScopeCreated / OnScopeSaving virtual methods refers to the Audit.NET's `AuditScope` object, not a TransactionScope. also I haven't run any test against EF core 2.1. It should work to the extent of the EF library being backward compatible. Otherwise you can [open a new Issue](https://github.com/thepirat000/Audit.NET/issues/new/choose) and I will take a look. – thepirat000 Jul 19 '18 at 20:34

1 Answers1

1

Audit.NET / Audit.EntityFramework now supports EF Core 2.1 and ambient transactions. Please upgrade your references and re-test. If you're still having problems, please open a new issue.

Support was added on version 12.1.10

thepirat000
  • 12,362
  • 4
  • 46
  • 72