title: Why connectionstring without metadata works?
body: <p>I had connection strings for entity framework edmx, which is usual EF connection string with metadata.</p>
  
  <p>Now i am implementing mvc-mini-profiler and wrote method below to create context. I am using just sql connection string part now, no longer using EF connection string. </p>
  
  <p><strong>Now it works but i am curious how it is getting metadata(.csdl, .ssdl address), If it can find now then why 'new Context()' need metadata</strong></p>
  
  <pre><code>public static T GetProfiledContext&lt;T&gt;() where T : ObjectContext
      {
          // create connection
          var sqlConnection = new SqlConnection(ConfigurationManager.ConnectionStrings["LocalSqlServer"].ConnectionString);
          // wrap the connection with a profiling connection that tracks timings 
          var profiledDbConnection = MvcMiniProfiler.Data.ProfiledDbConnection.Get(sqlConnection, MiniProfiler.Current);
          // create context
          return profiledDbConnection.CreateObjectContext&lt;T&gt;();
      }
  </code></pre>