问题
We are using breeze.js on client side for data access layer over entity framework.
We need to maintain the audit log for all the data changes on server.
Can somebody please advise what could be the best way to do that?
回答1:
The two options that occur to me are either
1) Server side triggers
2) Use the Breeze beforeSaveEntities mechanism to intercept the Breeze saveChanges call and add audit records directly in code on the server.
来源:https://stackoverflow.com/questions/17580440/breeze-js-audit-log