title: Entity Framework and connection string max Timeouts
body: <p>I'm using a DbContext and want set CommandTimeout = 1 week. What is max timeout value  for 
  CommandTimeout? </p>
  
  <pre><code>((IObjectContextAdapter)this.context).ObjectContext.CommandTimeout = ?max?;
  </code></pre>
  
  <p>In connection string I also need set max time out value. What is max Connect Timeout value i can set?</p>
  
  <pre><code>&lt;connectionStrings&gt;
      &lt;add name="TestEntities" connectionString="metadata=res://*/MyModel.csdl|res://*/MyModel.ssdl|res://*/MyModel.msl;provider=System.Data.SqlClient;provider connection string=&amp;quot;data source=.;initial catalog=DBTest;user id=sa;password=p/w; Connect Timeout=?max?; MultipleActiveResultSets=True;App=EntityFramework&amp;quot;" providerName="System.Data.EntityClient" /&gt;    
    &lt;/connectionStrings&gt;
  </code></pre>