Open Closed

Audit logging with CRUD stored procedures #4963


User avatar
0
mithun created

We are planning to upgrade to commercial license and use audit logging feature in our project. Currently we have implemented entities CRUD operations using custom repositories (DB stored procedures).

Questions:

  1. Will audit logging feature work in with our current entities custom repositories implementation?
  2. Is Audit logging feature tracking at database table or entity framework async method levels?

Ours is a tiered application with Blazor Web Assembly as a UI framework with Entity Framework and SQL Server. • ABP Framework version: v5.3 • UI type: / Blazor Web Assembly • DB provider: EF Core • Tiered (MVC) : Yes • Identity Server Separated : yes


1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Currently we have implemented entities CRUD operations using custom repositories (DB stored procedures). Will audit logging feature work in with our current entities custom repositories implementation?

    The audit log system uses the entity tracking function of EntityFrameworkCore, as you know entity tracking not working with stored procedures. so the audit logging also not working with stored procedures.

    Is Audit logging feature tracking at database table or entity framework async method levels?

    The audit log system uses the entity tracking function of EntityFrameworkCore

    For details you can check the document : https://docs.abp.io/en/abp/latest/Audit-Logging

    ABP provides a way that allows you to extend the audit log: https://docs.abp.io/en/abp/latest/Audit-Logging#audit-log-contributors

Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07