Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thepirat000 authored Jan 22, 2025
1 parent 84c1800 commit b4bb4e8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Audit.EntityFramework/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -573,10 +573,12 @@ foreach(var entry in efEvent.Entries)
If you plan to store the audit logs via EntityFramework, you can use the provided `EntityFrameworkDataProvider`.
Use this to store the logs on audit tables handled by EntityFramework.

> **Note**
> **Notes**
>
> Only the high-level audit events are processed by this data provider. Any other audit event, including the low-level events generated by the command interceptor,
> are ignored by the entity framework data provider.
> - Only the high-level audit events are processed by this data provider. Any other audit event, including the low-level events generated by the command interceptor,
> are ignored by the entity framework data provider.
>
> - This library also includes a [DbContext Data Provider](#generic-dbcontext-data-provider), which allows storing any type of audit events using an EF Core DbContext.

For example, you want to audit `Order` and `OrderItem` tables into `Audit_Order` and `Audit_OrderItem` tables respectively,
and the structure of the `Audit_*` tables mimic the audited table plus some fields like the event date, an action and the username:
Expand Down

0 comments on commit b4bb4e8

Please sign in to comment.