Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您能否为使用 NHibernate 的审计登录提供一些示例(ASP.Net+C# codd,而不是 java 代码)
事件监听器比拦截器更适合审计信息。这是来自Ayende 博客的一个很好的例子。
我经常看到使用拦截器完成此操作。通过 Google 可以找到很多关于实施拦截器进行审计的博客文章,比如这篇文章。