Closed trofimich closed 1 year ago
Have you tried adding uncountable words?
https://github.com/ErikEJ/EFCorePowerTools/wiki/Reverse-Engineering#pluralization
If you like my free tools, I would be very grateful for a rating or review on Visual Studio Marketplace or even a one-time or monthly sponsorship
As i know, the word "gas" from my sample is countable: https://grammarist.com/usage/gases-gasses/ I have not tried uncountable words for countable words. And I assume this is correct.
"UncountableWords": [
"Gas"
],
This is what the tool can offer, and I have no plans for additional Humanizer customizations.
Pluralize works incorrectly and I don't see ways to fix it via configuration. Sample: Database table "Gas". The Reverse engineering produces the next result in a DbContext:
public virtual DbSet<Ga> Gas { get; set; }
Expected result:
public virtual DbSet<Gas> Gases { get; set; }
In efpt.config.json:
In https://github.com/Humanizr/Humanizer#pluralize I see an option "inputIsKnownToBeSingular". Shouldn't its value be configurable from efpt.config.json? It would be good to be able to add words into Humanizer Vocabulary also.