Is there a way to install custom pluralization in EDM designer 2010?

I am using VS 2010 and I have a Person object.

The pluralization service is turning its plural into People, I want it to be people. Is there a place where I can manage the pluralization library?

+2
source share
1 answer

Not in Visual Studio , no.

In the meantime, you can go to the API level and create your own implementation derived from the abstract PluralizationService class. Once you do this, you can tell EntityModelSchemaGenerator to use your implementation, and not by default, to create a model using your specific pluralization rules. This solution is only for the API, we do not yet provide a way to select another pluralizer in Visual Studio.

However, you can use the pluralization service in your own code and configure it there.

Here is an example .

+3
source

All Articles