title: Error in using Dynamic Data Entities Web Site in VS2012
body: <p>I decided to use Dynamic Data Entities Web Site in VS2012.</p>
  
  <p>So, I created this Web Site, then added <code>App_Code</code> directory and added a new <code>edmx</code> to it and named it <code>myDB.edmx</code>. After that I uncommented the code line in <code>Global.asax</code> which registers the entity context :</p>
  
  <pre><code>DefaultModel.RegisterContext(typeof(myDBEntities), new ContextConfiguration() { ScaffoldAllTables = true });
  </code></pre>
  
  <p>But when I run the website this error occurs :</p>
  
  <pre><code>The context type 'myDBEntities' is not supported.
  </code></pre>
  
  <p>how can I fix it?</p>
  
  <p>p.s: You now there are some differences between using L2S by <code>Dynamic Data L2S Web Site</code> and using Entity Framework by <code>Dynamic Data Entities Web Site</code>.</p>