How to customize naming convention of EF Core scaffolding in 1.0.0/preview2.
Warning: this uses internal APIs which are not officially supported. Future releases may break this.
On command line
dotnet ef dbcontext scaffold "Server=(localdb)\mssqllocaldb;Database=Northwind;Integrated Security=true" Microsoft.EntityFrameworkCore.SqlServer
Output
Project snake (.NETCoreApp,Version=v1.0) was previously compiled. Skipping compilation.
Naming request: Order_Details
Naming request: Photo
...
Thank you! I changed this to just "return original;" so there would be no renaming at all, worked like a charm!