首頁  >  文章  >  資料庫  >  拦截并记录数据库操作

拦截并记录数据库操作

WBOY
WBOY原創
2016-06-07 15:06:231364瀏覽

原文: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

原文: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日

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn