拦截并记录数据库操作-Logging and Intercepting Database Operations

原文:http://msdn.microsoft.com/zh-cn/data/dn469464

Logging and Intercepting Database Operations

Starting with Entity Framework 6, anytime Entity Framework sends a command to the database this command can be intercepted by application code. This is most commonly used for logging SQL, but can also be used to modify or abort the command.

还没实践,希望能腾出个时间实践并翻译。

--2014年12月17日

上一篇:关于SQL Server中分区表的文件与文件组的删除(转)


下一篇:go database/sql sql-driver/mysql 操作