title: Entity Framework getting an sql connection
body: <p>In the light of <a href="https://stackoverflow.com/questions/5285877/closing-connections-explicitly-in-entity-framework">Closing connections explicitly in Entity Framework</a> and <a href="http://msdn.microsoft.com/en-us/library/bb738582%28v=vs.90%29.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/bb738582%28v=vs.90%29.aspx</a> it seems that I should be using the context to create connections rather than doing the following</p>
  
  <pre><code>using (SqlConnection con = new SqlConnection("Persist Security Info=False;Integrated Security=true;Initial Catalog=Remember;server=(local)"))
  {
      ...
  }
  </code></pre>
  
  <p>My understanding is that I'll</p>
  
  <ul>
  <li>Get rid of the connection string</li>
  <li>Utilize connection pooling built into EF</li>
  </ul>
  
  <p>But how do I acquire an SQL connection through the context?</p>