title: subsonic in visual studio design host
body: <p>I'm facing currently a problem regarding Subsonic configuration.  </p>
  
  <p>What I want to achieve is using subsonic data access in a System.Web.UI.Design.ControlDesigner class.  </p>
  
  <p>This class is hosted in Visual Studio Environment and enables design time operations on the attached System.Web.UI.WebControls.Control.  </p>
  
  <p>The only problem is SubSonic seems always looking for SubSonicSection in the application configuration regardless passing connection string to it.  </p>
  
  <p>The relevant code snippet:</p>
  
  <pre><code>using (SharedDbConnectionScope dbScope = new SharedDbConnectionScope(new SqlDataProvider(), ConnectionString))
  {
  Table1 _table1 = new Select().From&lt;..().Where(...).IsEqualTo(...).ExecuteSingle&lt;...&gt;();
  </code></pre>
  
  <p>Throws exception on ExecuteSingle() method (configuration section was not found)</p>
  
  <p>while  </p>
  
  <pre><code>using (SharedDbConnectionScope dbScope = new SharedDbConnectionScope(ConnectionString))
  {
  </code></pre>
  
  <p>Throws exception on new SharedDbConnectionScope() (configuration section was not found)  </p>
  
  <p>So the question is:<br>
  Is there any way to pass the  settings runtime to bypass the configuration section lookup as I don't want to add any subsonic specific configuration to devenv.configuration  </p>
  
  <p>Thanks</p>