Why does Dynamic Data Wizard pluralize?

2 posts, 0 answers
  1. Ted
    Ted avatar
    5 posts
    Member since:
    May 2013

    Posted 18 Jun 2013 Link to this post

    My tables are all singular form. When I created the data class, I selected "unchanged" on the pluralization option. Thus, the names of the tables are properly reflected in the datalayer (singular). When I use the Dynamic Data Wizard to add this data layer, "My tables" all show plural. (person is now people, phone is now phones, etc). I don't have a table named people. I have spent hours searching for a way to turn pluralization off in THIS wizard. Is there a fix for this?
  2. Damyan Bogoev
    Damyan Bogoev avatar
    581 posts

    Posted 21 Jun 2013 Link to this post

    Hello Ted,

    I am afraid you cannot handle this at the moment using the wizard.

    Currently the table names are based on the endpoints in the context class, i.e. if you have an IQueryable<T> Entities property on your OpenAccessContext class the corresponding table name will be set to Entities.

    Damyan Bogoev
    OpenAccess ORM Q2 2013 brings you a more powerful code generation and a unique Bulk Operations support with LINQ syntax. Check out the list of new functionality and improvements shipped with this release.
Back to Top