开发者

Telerik Open access Audit Trail

开发者 https://www.devze.com 2023-01-14 06:54 出处:网络
How can i best implement an audit trail for an application that uses Telerik open access. I have posted this question on their support but there has been no reply for days (sucks)

How can i best implement an audit trail for an application that uses Telerik open access. I have posted this question on their support but there has been no reply for days (sucks) I have already tried the Tracking events within each sco开发者_运维问答pe but am unable to save the field that contain List or class attributes. (open access does not support the object datatype) Example of the class am trying to implement an audit trail for is

class myCompany
{
    private int _id;
    private IList<Bus> _myBusses=new List<bus>();
    private User _createdBy;
}

Plesase Help


Why not just hook into any changes to the data (see Tracking Context Changes)? You could have some helper methods you pass the old & new data to that, then they add the necessary information to the audit log.

Also, these links might be useful too:

  • Getting Changes that Will be Performed During the Next Commit
  • Accessing Original Values After Changes
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号