title: How to set the database name in the connection string with Entity Framework 5
body: <p>So I have Solution with two projects. The first projects should act as a <code>Data Access Layer</code> so there in the <code>app.config</code> file I have this: </p>
  
  <pre><code>&lt;connectionStrings&gt;
   &lt;add name="BloggingContextCF" 
     connectionString="provider=System.Data.SqlClient;
     provider connection string=&amp;quot;
     data source=*****\SQLEXPRESS;
     initial catalog=CodeFirst.Blogging;
     integrated security=True;
     MultipleActiveResultSets=True;
     App=EntityFramework&amp;quot;" 
     providerName="System.Data.EntityClient" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>The second Project is a <code>ASP.NET Web Forms</code> project, where I removed the default connection string pointing to the <code>(local)</code> instance leaveing only one connection string, the one from the first <code>Data Access Layer</code> project. Which actually works and the database is created on my <code>SQL 2008 R2</code> server, but instead of the desired (and expected) database name - <code>CodeFirst.Blogging</code> the name is <code>DataAccessLayer.BloggingContextCF</code> where <code>DataAccessLayer</code> is the name of the project and <code>BloggingContextCF</code> is the class extending <code>DbContext</code>.</p>
  
  <p>What I need to change in my connection string so I can get the desired name?</p>