title: Using Singular Table Names with EF Core 2
body: <p>I want my domain class name to match my db table name (no pluralisation).</p>
  
  <p>In EF Core 1.1, I used this code to do that:</p>
  
  <pre><code>public static void RemovePluralisingTableNameConvention(this ModelBuilder modelBuilder)
  {
      foreach (IMutableEntityType entityType in modelBuilder.Model.GetEntityTypes())
      {
          entityType.Relational().TableName = entityType.DisplayName();
      }
  }
  </code></pre>
  
  <p>In EF Core 2.0, this code doesn't compile as <code>Relational()</code> is not a method on IMutableEntityType. 
  Anyway, in EF Core 2.0, they have added IPluralizer, documented here: </p>
  
  <p><a href="https://github.com/aspnet/EntityFramework.Docs/blob/master/entity-framework/core/what-is-new/index.md#pluralization-hook-for-dbcontext-scaffolding" rel="noreferrer">https://github.com/aspnet/EntityFramework.Docs/blob/master/entity-framework/core/what-is-new/index.md#pluralization-hook-for-dbcontext-scaffolding</a> </p>
  
  <p>There aren't many examples to show how to achieve the same behaviour that I had before. Any clue of how to remove pluralisation in EF Core 2?</p>