<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakaji999</author_name>
  <author_url>https://blog.hatena.ne.jp/nakaji999/</author_url>
  <blog_title>なか日記</blog_title>
  <blog_url>https://blog.nakajix.jp/</blog_url>
  <categories>
    <anon>C#</anon>
  </categories>
  <description>何回も躓いてて、「ええ加減覚えてくれ、俺」という思いを込めて。 App.configなどでデータベースの接続文字列を記述する際、「|DataDirectory|」という代替文字列が使用できます。 &lt;connectionStrings&gt; &lt;add name=&quot;DataContext&quot; connectionString=&quot;Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirectory|\B2Web.mdf;Initial Catalog=B2Web;Integrated Security=True&quot; providerName=&quot;System.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.nakajix.jp%2Fentry%2F2014%2F03%2F20%2F020312&quot; title=&quot;接続文字列に&amp;quot;|DataDirectory|&amp;quot;を使用したMSTestプロジェクトでやっとくこと - なか日記&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>2014-03-20 02:03:12</published>
  <title>接続文字列に&quot;|DataDirectory|&quot;を使用したMSTestプロジェクトでやっとくこと</title>
  <type>rich</type>
  <url>https://blog.nakajix.jp/entry/2014/03/20/020312</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
