title: Entity Framework Not Generating Classes for Tables or Procedures
body: <p>I'm using the Entity Framework to generate the classes and functions in C# I need to interact with the SQL server.</p>
  
  <p>For reference, here's one of my tables:</p>
  
  <pre><code>SET ANSI_NULLS ON
  GO
  
  SET QUOTED_IDENTIFIER ON
  GO
  
  CREATE TABLE [dbo].[Area](
      [ID] [bigint] identity (1, 1) primary key,
      [Name] [nvarchar](100) NOT NULL
      )
  GO
  </code></pre>
  
  <p>After running the Entity Data Model Wizard (using 'EF Designer from database'), my project has the edmx file and a few new .cs files, but it seems like it's not generating everything it needs.</p>
  
  <p>In my DatabaseEntities class, for example, I've got:</p>
  
  <pre><code>    public virtual DbSet&lt;Area&gt; Areas { get; set; }
  </code></pre>
  
  <p>However, there's no definition for the type 'Area' (along with three other missing types).  I'm also missing the functions for stored procedures.</p>
  
  <p>I've tried deleting the new files and re-running the Model Wizard, but I get the same result.</p>
  
  <p>Has anyone else run into this?</p>
  
  <p><strong>SIDENOTES:</strong></p>
  
  <p>I've noticed during the last few attempts that I'm also getting an error when the wizard runs: "The Entity Framework package not installed on project".  However, it's still generating the edmx and the model.context when I click past it.</p>
  
  <p>I've had the same problem with both Entity Framework versions 6.0.0 and 6.1.2.</p>
  
  <p>Reinstalling the framework had no effect on the problem(s).</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Uninstalling nuget and reinstalling the latest version allowed me to install EntityFramework via nuget without error.  However, now the ADO.NET data model is missing from the Add New Item dialogue.</p>