Question: Is there a way to do what this code did in EF Core RC 2?

```
protected override void OnModelCreating(ModelBuilder modelBuilder)
{    
    modelBuilder.Conventions.Remove<PluralizingTableNameConvention>();
}

```

Answer: 
For EF Core 3.0 and above, use this to set the `TableName` property (because `entity.Relational()` no longer exist):

```cs
public static class ModelBuilderExtensions 
{
    public static void RemovePluralizingTableNameConvention(this ModelBuilder modelBuilder)
    {
        foreach (IMutableEntityType entity in modelBuilder.Model.GetEntityTypes())
        {
            if (entityType.BaseType == null)
            {
                entity.SetTableName(entity.DisplayName());
            }
        }
    }
}

```
I went with adding a virtual

```
public virtual DbSet<TableName> TableName{ get; set; }
public DbSet<TableName> TableNames { get; set; }

TableNames.FirstOrDefault();

```