This project is read-only.


How to use IPluralizationService


I need pluralize my entities with Inflector.

I post this question in stackoverflow but unanswered.

Any help is welcome!

Unai Zorrilla Castr Came the reply:
"What kind of help do you need? You only need implement the IPluralizationService and register the new pluralization using the new DbConfiguration class."

But how to use DbConfiguration? If possible send code examples. Would greatly help
Closed Jul 10, 2013 at 9:51 PM by RoMiller
Closing as this is a question rather than a bug report. There are some good resources linked to in the comments.


divega wrote Jul 6, 2013 at 9:52 AM

Here you can find a feature specification for DbConfiguration. Use the method SetPluralizationService to set a custom pluralizer.

Ridermansb wrote Jul 7, 2013 at 2:00 AM

Now we need to translate into another language. In my case, I would pluralize for pt-BR.