views:

46

answers:

1

I am using VS 2010 and I have an entity 'Person'.

The pluralization-service turns its plural to 'People', I want it to be Persons. Is there a place where I can manage the pluralizations library?

+1  A: 

Not in Visual Studio, no.

In the meantime though you can drop down to the API level and create your own implementation derived from the abstract PluralizationService class. Once you’ve done this you can tell the EntityModelSchemaGenerator to use your implementation, rather than the default, to produce a model using your particular pluralization rules. This is an API only solution, we don’t yet provide a way to choose a different pluralizer in Visual Studio.

You can use the pluralization service in your own code, however, and customize it there.

Here's an example.

Craig Stuntz