Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Commented Unassigned: How to use IPluralizationService [1360]

$
0
0
I need pluralize my entities with [Inflector](http://nuget.org/packages/Inflector/).

I post this [question in stackoverflow](http://stackoverflow.com/questions/17471391/how-to-customize-the-pluralization-ef6) 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
Comments: [Here](https://entityframework.codeplex.com/wikipage?title=Code-based%20Configuration) you can find a feature specification for DbConfiguration. Use the method SetPluralizationService to set a custom pluralizer.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>