EntityFramework.Docs icon indicating copy to clipboard operation
EntityFramework.Docs copied to clipboard

Database first approach pluralizing entity names

Open laksh-parab opened this issue 10 years ago • 1 comments

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

laksh-parab avatar Sep 02 '16 04:09 laksh-parab

Dupe of aspnet/EntityFramework#3060. Until that is implemented, the entity type names are taken verbatim from the table names.

bricelam avatar Sep 02 '16 16:09 bricelam