Jimmy Engström

NAVIGATION

Pluralization for Entity Framework Core Nuget

Nuget

In one of the projects I work on we use database first, but with EF core the class names was terrible, no pluralization, no singularization.
See previous post

I wanted to simplify this more so I created a nuget package so now the only thing you have to do is:
1. Add the nuget package
2. Add a class (Name suggestion:PluralizeDesignTimeServices.cs)
3. Run dotnet ef scaffold…… and everything will be named correctly =)

If some translations are missing, please do a PR or contact me and I will add them.

Posted with :