EntityFramework Core database first approach pluralizing table names
<p>We have existing database with pluralized table names. For Example <code>Documents</code>. I am trying to use new <code>EF Core</code> and <code>Asp.Net Core</code> with database first approach based on this article <a href="https://docs.efproject.net/en/latest/platforms/aspnetcore/existing-db.html" rel="noreferrer">here</a> </p>

<p>I run the following command to create models from the existing database </p>

<blockquote>
  <p>Scaffold-DbContext
  "Server=(local);Database=MyDatabase;Trusted_Connection=True;"Microsoft.EntityFrameworkCore.SqlServer
  -OutputDir Models</p>
</blockquote>

<p>However when I run scaffolding command it creates models with plural names. For example <code>Documents</code> table converted to model name <code>Documents</code>. </p>

<p>How do I change this so it can use singular naming convention for model?  (I cannot alter table names in database)</p>

<p>Note that I have read few post on SO related to same issue but they mostly concerned with code first approach. I am using database first approach.</p>