Is there a way to do what this code did in EF Core RC 2?
protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Convention
The EF Core version doesn't seem to support entity.DisplayName. This is a working alternative:
entity.DisplayName
foreach (var entityType in modelBuilder.Model.GetEntityTypes()) { // Skip shadow types if (entityType.ClrType == null) continue; entityType.Relational().TableName = entityType.ClrType.Name; }