Adds Singlarization and Pluralization to Entity Framework Core
I recently started working with .NET Core and I didn't like that Microsoft removed the automatic pluralization/singularization of classes and collection in Entity Framework Core. They did however give us the opportunity to hook in our own. This is talked about in this StackOverflow post
I choose to modify the one Microsoft provided in previous versions of Entity Framework found here.
Usage:
- Add the nuget package https://www.nuget.org/packages/EntityFrameworkCore.Pluralize/
- Add a class named PluralizeDesignTimeServices.cs
- 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.