1

Closed

How to use IPluralizationService

description

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 8: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.

comments

divega wrote Jul 6, 2013 at 8: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 1:00 AM

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