By adding extra code into the DAO to write all relevant details out to the AUDIT database.
通过添加一些额外的代码到DAO就可以写下相关的细节到审计数据库内。
Design by contract avoids extra code and improves performance, as long as all clients of a class abide by the contract.
契约式设计避免了额外的编码并提高了性能,只要所有的客户都遵守契约。
Any extra code put into a method will execute whenever the corresponding token is encountered.
只要碰到相应的记号,方法内的任何额外代码都将执行。
应用推荐