.net - How to implement a MVC 4 change log? -
i developing mvc 4 application. client wants have change log, can view fields have been changed. should show old value , new value, in case of edit. if delete, should show row deleted.
whats best way achieve this?
just clarify.. changes actual data in database..
ie might have record of customer names , addresses.. user might update addresses.. need ability see user changed.. old data , new data
thanks...
this typically done using triggers in database. create audit table, , create triggers catch each change , record them.
an article talking here:
http://www.codeproject.com/articles/441498/quick-sql-server-auditing-setup
more recent versions of sql server have auditing built-in, in enterprise editions quite spendy.. people don't have access these features.
another option, , cannot speak how works, third party tools claim add auditing capability. example, simple google search found these:
Comments
Post a Comment