Display name instead of alt_name in Database Schema Tree

Answered

Comments

3 comments

  • Avatar
    Marc

    The reason for this is that some 'power users' may want to have the tree display the actual names, so I'd like to be able to toggle it at runtime.

    0
    Comment actions Permalink
  • Avatar
    Sergey Smagin (Product manager)

    Hello, Marc.

    ASP.NET 2.0: The same-named property in the QueryBuilder controls usage of alternate names in the query builder UI regardless of SQL text generation. (QueryBuilder.UseAltNames)

    AQB for .NET 3 (all editions):
    - The QueryBuilder.SQLGenerationOptions.UseAltNames controls the display of alternate names in the UI. 
    - The QueryBuilder.SQLFormattingOptions.UseAltNames controls the display of alternate names in the formatted SQL query text via the QueryBuilder.FormattedSQL property. 

    0
    Comment actions Permalink
  • Avatar
    Sergey Smagin (Product manager)

    Hello,

    Call the queryBuilder.MetadataStructure.UnloadChildItems() method after changing the UseAltNames property to reload the tree.

    0
    Comment actions Permalink

Please sign in to leave a comment.