Wrong generated class name

2 posts, 0 answers
  1. Peter Szintai
    Peter Szintai avatar
    28 posts
    Member since:
    Jul 2009

    Posted 17 Nov 2010 Link to this post

    Hi All,

    ORM version : 2010. Q3 (but the problem exists in the 2010. Q2 also). The backend is MS SQL Server 2008 R2 Express.

    When I add a new Telerik OpenAccess Domain Model item to my application, and the database contains tables called <something>Data, e.g.: aaData, then the generated class names are <something>Datum, but the table property is correct.

          public partial class AaDatum

    We have solved the problem with the rename of these table to <something>Dat, but the problem exists anyway.

    Best regards,

  2. PetarP
    PetarP avatar
    754 posts

    Posted 19 Nov 2010 Link to this post

    Hi Peter, 

    This is actually the desired effect. The word data is actually the plural form of datum. So if you have chosen singularization for your classes it is normal that your class ends on Datum while your table is still in plural form.

    the Telerik team
    Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
  3. DevCraft banner
Back to Top