开发者

How can I log a prepared statement in ADO.Net / MySQL Connector

开发者 https://www.devze.com 2023-03-17 05:32 出处:网络
I\'d like to use prepared statements with MySQL Connector/NET (or any ADO.Net provider for that matter) for our database access.

I'd like to use prepared statements with MySQL Connector/NET (or any ADO.Net provider for that matter) for our database access.

The problem is that we need to log the full SQL statements as 开发者_开发问答they would be sent to the server if we weren't using prepared statements.

Is there any way we can do this?

0

精彩评论

暂无评论...
验证码 换一张
取 消