<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>redwarrior</author_name>
  <author_url>https://blog.hatena.ne.jp/redwarrior/</author_url>
  <blog_title>redwarrior’s diary</blog_title>
  <blog_url>https://redwarrior.hateblo.jp/</blog_url>
  <categories>
    <anon>EF6</anon>
    <anon>小ネタ</anon>
    <anon>Database</anon>
    <anon>SQL Server</anon>
  </categories>
  <description>ExecuteSqlCommandでストアドプロシージャを実行した時にタイムアウトが発生してエラーになってしまったので、タイムアウトの時間を変更する方法を調べてみました。 また、デバック実行時にDB接続でタイムアウトがぼちぼち発生して面倒なので、コネクションタイムアウトの方法も調べました。 DBはSQL Serverです。 コマンドタイムアウト ストアドプロシージャ実行時のタイムアウトの時間を変更する方法。 DbContextクラスを継承したクラスのDatabaseプロパティに設定する。（既定値は30秒） //コンストラクタで指定する場合 this.Database.CommandTimeou…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fredwarrior.hateblo.jp%2Fentry%2F2018%2F01%2F11%2F090000&quot; title=&quot;（小ネタ）Entity Framework でタイムアウトの設定方法まとめ - redwarrior’s diary&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>2018-01-11 09:00:00</published>
  <title>（小ネタ）Entity Framework でタイムアウトの設定方法まとめ</title>
  <type>rich</type>
  <url>https://redwarrior.hateblo.jp/entry/2018/01/11/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
