Batch updates #644
ZakAl-Hassani
started this conversation in
General
Replies: 1 comment
-
Since ExecuteUpdate / ExecuteDelete bypasses the EF change tracking, the only way to intercept those calls is by using the command interceptor, for example: builder.Services.AddDbContext<YourContext>(_ => _
.AddInterceptors(new AuditCommandInterceptor() { ExcludeReaderEvents = true, ... }) See #607 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
EF Core 7.0 introduced ExecuteUpdate and ExecuteUpdateAsync methods. These do not currently seem to get picked up by audit.Net. Are there any plans to implement this or have I just missed the implementation (please point me in the right direction).
Beta Was this translation helpful? Give feedback.
All reactions