title: How to use EF6 (DB-first) with ASP.NET core web application(.NET framework 4.6.1)?
body: <p>I am building asp.net core web application using full .NET framework 4.6.1 template like this-</p>
  
  <p><a href="https://i.stack.imgur.com/hxrp0.png" rel="noreferrer"><img src="https://i.stack.imgur.com/hxrp0.png" alt="1"></a></p>
  
  <p>My project.json shows-</p>
  
  <pre><code>  "frameworks": {
      "net461": { }
    },
  </code></pre>
  
  <p>I wanted to use <strong>EF6 (not EF core)</strong>, hence install entity framework using NuGet package manager using this command-</p>
  
  <pre><code>Install-Package Entityframework
  </code></pre>
  
  <p>Project.json added this entry-</p>
  
  <pre><code>"EntityFramework": "6.1.3",
  </code></pre>
  
  <p>When I am trying to create a DBcontext and model using below Command:</p>
  
  <pre><code>Scaffold-DbContext "Server=XXXXX;Database=XXXXXXX;User Id=XXXXXXX;password=XXXXXXX" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -t TABLENAME
  </code></pre>
  
  <p>It throws below error:</p>
  
  <blockquote>
    <p>Scaffold-DbContext : The term 'Scaffold-DbContext' is not recognized
    as the name of a cmdlet, function, script file, or operable program.</p>
    
    <p>Check the spelling of the name, or if a path was included, verify that
    the path is correct and try again.</p>
  </blockquote>
  
  <p>As I understand (since I have Powershell v3.0 and .NET core 1.0.1), rest of the EF tools and dependencies are missing in my project.json. So <strong>which are tools and dependencies I need to add in my project.json to use EF6 (not EF core)?</strong></p>
  
  <p>Some of the options I can see are like below. But not sure which one is right for EF6</p>
  
  <p>"EntityFramework.MicrosoftSqlServer":</p>
  
  <p><a href="https://i.stack.imgur.com/3oWlz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/3oWlz.png" alt="enter image description here"></a></p>
  
  <p>"EntityFramework.SqlServer": </p>
  
  <p><a href="https://i.stack.imgur.com/QOk6J.png" rel="noreferrer"><img src="https://i.stack.imgur.com/QOk6J.png" alt="enter image description here"></a></p>
  
  <p>"Microsoft.EntityFrameworkCore.SqlServer": "1.0.0-rc2-final"</p>
  
  <p><a href="https://i.stack.imgur.com/1mMJh.png" rel="noreferrer"><img src="https://i.stack.imgur.com/1mMJh.png" alt="enter image description here"></a></p>