Search code examples
entity-frameworkc#-4.0ado.netado.net-entity-data-model

What is the meaning of the "Pluralize or singularize generated object names" setting?


When setting up a new Entity data Model, there is an option to

[x] Pluralize or singularize generated object names

I have noticed this is an option in LINQ as well. Also, now that I am studying the ADO.NET entity framework, I noticed it also has 'DEFAULT' to 'pluralize or singularize generated object names'

What is the result of not checking/allowing this option when setting up the 'Entity Data Model'.

What Advantages/Disadvantages/issues will I face by making a selection one way or the other?


Solution

  • No problem at all, except that you'll probably want to do it manually. Usually, you want entity names singular and entity set names plural.