<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>JHashimoto</author_name>
  <author_url>https://blog.hatena.ne.jp/JHashimoto/</author_url>
  <blog_title>Architect's Log</blog_title>
  <blog_url>https://blog.jhashimoto.net/</blog_url>
  <categories>
    <anon>.NET</anon>
    <anon>SQL Server</anon>
    <anon>拡張メソッド</anon>
  </categories>
  <description>パラメータ情報を付加したCommandTextを取得する拡張メソッドを定義すると便利です。 SQLをログ出力するケースで使用します。（2012/02/11 読者さんからの指摘で追記） using System; using System.Data; using System.Data.SqlClient; using System.Text; namespace DataAccess { internal static class SqlCommandExtensions { /// &lt;summary&gt; /// パラメータ情報を付加したCommandTextを取得します。 /// &lt;/summ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.jhashimoto.net%2Fentry%2F20120210%2F1328880663&quot; title=&quot;パラメータ情報を付加したCommandTextを取得する拡張メソッド - Architect&amp;#39;s Log&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-02-10 22:31:03</published>
  <title>パラメータ情報を付加したCommandTextを取得する拡張メソッド</title>
  <type>rich</type>
  <url>https://blog.jhashimoto.net/entry/20120210/1328880663</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
