Ordering...

6 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 18 Jun 2010 Link to this post

    My DBA is having a fit because the forward mapping is sorting alphabetically instead of logically with the PKs first, and Timestamps last (his preferred table structure)

    Is there REALLY nothing I can do here?
  2. Ady
    Admin
    Ady avatar
    588 posts

    Posted 21 Jun 2010 Link to this post

    Hi Steve,

     The PKs are first and then the rest of the columns are alphabetically sorted. If field mapping specified, the columns appear in the order in which the mapping is specified. So you could specify the field mapping in the order you want the columns to be created. This is a tedious but currently the only way in which you could control the column sort order.

    Regards,
    Ady
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 21 Jun 2010 Link to this post

    Should I be applying an OA attribute to the Property to define it as a PK?  Right now I'm just going through the wizard, and it's not sorting the PKs as first when it generates the tables...
  5. Ady
    Admin
    Ady avatar
    588 posts

    Posted 22 Jun 2010 Link to this post

    Hi Steve,

     No, you do not need to apply any attribute to define the order. It is strange that you do not get the PKs first. Is it possible to send me the domain model so that I could have a look? If I define a class model without any mapping I do observe the default sorting with the PKs first.

    All the best,
    Ady
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 22 Jun 2010 Link to this post

    Ok, I'll submit a ticket
  7. Ady
    Admin
    Ady avatar
    588 posts

    Posted 23 Jun 2010 Link to this post

    Hello Steve,

     Thank you for the project. As pointed out in the support, there is currently no direct way to control the column creation order. You would have to manually modify the .sql file that is generated in the output folder.
    We will consider this for further improvement.

    Kind regards,
    Ady
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
DevCraft banner