title: EntityFramework Core database first, Scaffold-DbContext A positional parameter cannot be found that accepts argument '--use-database-names' error
body: <p>I am trying to create the model from existing DB using EntityFramework Core, database first approach. The model was created, but the table name and column name were changed to C# style. Because I want the model still using exact table name and column name as in the database, so I append the "--use-database-names" in the command line, according to <a href="https://docs.microsoft.com/en-us/ef/core/miscellaneous/cli/dotnet" rel="nofollow noreferrer">Entity Framework Core tools reference</a></p>
  
  <p>Following is the command executed in the Package Manager Console:</p>
  
  <pre><code>Scaffold-DbContext "Server=aServer;Database=someDb;Trusted_Connection=True" Microsoft.EntityFrameworkCore.SqlServer -o Models --use-database-names
  </code></pre>
  
  <p>But I got following error:</p>
  
  <blockquote>
    <p>Scaffold-DbContext : A positional parameter cannot be found that accepts argument '--use-database-names'.
    At line:1 char:1</p>
    
    <ul>
    <li>Scaffold-DbContext "Server=aServer;Database=someDb;Trusted_Conn ...</li>
    <li>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    <ul>
    <li>CategoryInfo          : InvalidArgument: (:) [Scaffold-DbContext], ParameterBindingException</li>
    <li>FullyQualifiedErrorId : PositionalParameterNotFound,Scaffold-DbContext</li>
    </ul></li>
    </ul>
  </blockquote>
  
  <p>Has anybody encounter this issue? Did I miss something? Thanks in advance!</p>
  
  <p>Following are some basic info of the simple project. </p>
  
  <p>IDE: Visual Studio 2017 </p>
  
  <p>Target framework: .NET Core 2.1</p>
  
  <p>Installed NuGet Package:</p>
  
  <pre><code>Microsoft.EntityFrameworkCore.Design(2.2.0)
  Microsoft.EntityFrameworkCore.SqlServer(2.2.0)
  Microsoft.EntityFrameworkCore.Tools(2.2.0)
  Microsoft.EntityFrameworkCore.SqlServer.Design(1.1.6)
  </code></pre>