title: Using ADO.NET Entity in asp.net webpages?
body: <p>Alright so here what i did, i created an empty Asp.net website, created a database with small table, and then i right clicked the solution explorer > Add new Item > ADO.NET Entity data model </p>
  
  <p>Then i generated it from the database, now whenever i try to use it in the following form :</p>
  
  <pre><code>ModelName.Entity db = new ModelName.Entity();
  </code></pre>
  
  <p>i get an error that says " <strong>The Type or namespace couldn't be found</strong> " While the entity was saved in the folder "App_code".</p>
  
  <p>any idea ?</p>