Reverse mapping changes table name

Thread is closed for posting
2 posts, 0 answers
  1. Kevin Cabritit
    Kevin Cabritit avatar
    20 posts
    Member since:
    Sep 2009

    Posted 09 Jan 2010 Link to this post

    Hey,

    I've just done the initial Reverse Mapping of a database. There is a table named 'MEDIA' (in capitals).

    The Reverse Mapping created by OpenAccess wants to create a classname of 'Medium'. I had to go in and change the name myself.

    Any idea why this would happen, and if it might happen elsewhere and cause issues?

    Cheers,
    -alex
  2. Ady
    Admin
    Ady avatar
    589 posts

    Posted 11 Jan 2010 Link to this post

    Hello Alex Daniel,

    The Reverse mapping wizard tries to perform singularization of plural words and hence 'Media' is converted to 'Medium'. You can control this process by adding some custom rules using just plain XML entries. More information regarding this can be found here.

    Regards,
    Ady
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top