EntityFramework.Docs
EntityFramework.Docs copied to clipboard
Database first approach pluralizing entity names
I am trying to use database first approach based on article here however after the running command below , scaffolding is creating pluralized entity names.
Scaffold-DbContext "Server=(local);Database=MyDatabase;Trusted_Connection=True;"Microsoft.EntityFrameworkCore.SqlServer -OutputDir Entities
The issue was also posted on SO here
Dupe of aspnet/EntityFramework#3060. Until that is implemented, the entity type names are taken verbatim from the table names.