title: SqlEntityConnection configured with a local schema file
body: <p>I want to use the SqlEntityConnection type provider in f# to query and update a db.<br>
  It works well when I use it with the connection string pointing to a live SQL Server DataBase. </p>
  
  <pre><code>type EntityConnection = SqlEntityConnection&lt;"Data Source=myServer;Initial Catalog=myDb;...", Pluralize=true&gt;
  </code></pre>
  
  <p>Now I want to get rid of the dependency with the live DB and, instead, use a local schema file. Given what I read on <a href="http://msdn.microsoft.com/en-us/library/hh362322.aspx" rel="nofollow">msdn</a>, I gave a try to the following line: </p>
  
  <pre><code>type private EntityConnection = SqlEntityConnection&lt;LocalSchemaFile="mySchemaFile.ssdl", Pluralize=true&gt;
  </code></pre>
  
  <p>Unfortunately, it doesn't compile and the compiler's message is:</p>
  
  <blockquote>
    <p>Error 46  The type provider 'Microsoft.FSharp.Data.TypeProviders.DesignTime.DataProviders' reported an error: When using this provider you must specify either a connection string or a connection string name. To specify a connection string, use SqlEntityConnection&lt;"...connection string...">.</p>
  </blockquote>
  
  <p>So what should I do? If I leave the connection string, I have the feeling that I don't really turn off the dependency to the DB. For instance, if I try to switch the Data Source with a non-existing server, it doesn't compile. </p>