Hello Support Team,
I need to track the changes of data after I update, add new or delete any data, I called to AppService by using 2 tables: AbpAuditLogs and AbpEntityChangeSets but I couldn’t make it because these tables are not linked. The relationship between AbpAuditLogs and AbpEntityChangeSets should be 1-multiple instead of independent with one another Please help me creating this relationship for them or giving me another solution. One solution like https://docs.abp.io/en/abp/latest/Audit-Logging#audit-log-object is useful for us.
Ver: 9.2.1 Type: MVC Framework: .net core ABP ver: v5.13
Best Regards
1 Answer(s)
-
0
Hi @trungbttsd
AspNet Zero's audit log system is not designed like that. However, you can create your own https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.ZeroCore.EntityFrameworkCore/EntityHistory/EntityHistoryHelper.cs and implement it yourself. I'm not sure how to implement it at the moment.