Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
为了审核用户操作,我使用了 Log4Net。在审计 CRUD 操作时,使用了触发器。
在这里您可以找到一些资源文章(文章1,Article2) 关于实施审核日志。
For auditing user actions, I had used Log4Net. While for auditing CRUD operations, triggers were used.
Here you could find some resource articles(Article1, Article2) on implementing Audit log.
我找到了一些不错的工具,例如 OmniAudit 等,但实际上并不完全是我想要的。因此,我决定编写自己的审计跟踪工具来生成和维护触发器。
I've found some nice tools like OmniAudit etc, but not actually exactly was i was looking for. So i've decided to write my own Audit Trail Tool to generate and maintain Triggers.
如果您使用实体框架,请参考:http://www.codeproject.com /KB/database/ImplAudingTrailUsingEFP1.aspx
if you're using entity framework, please refer to: http://www.codeproject.com/KB/database/ImplAudingTrailUsingEFP1.aspx