CodeSmith Community
Your Code. Your Way. Faster!

Cache reset in UI

Latest post 01-14-2008 9:13 PM by shannon. 2 replies.
  • 06-04-2007 12:27 PM

    • Markus
    • Not Ranked
    • Joined on 04-16-2006
    • Posts 2
    • Points 40

    Cache reset in UI

    When I change tables and keys in the database while having Codesmith open and then generate files, they end up being based on the cached database structure. In order to reset the cache I either have to leave Codesmith or change the datasource back and forth so that I can generate files based on the new layout.

     In the Codesmith Explorer I use another workaround, which is recompiling the Codesmith project, but after that I have to reload the template values.

    Could there be an action to reset the cache?
     
    Markus
     

    • Post Points: 35
  • 06-07-2007 12:16 PM In reply to

    • shannon
    • Top 50 Contributor
    • Joined on 03-06-2007
    • Posts 73
    • Points 5,055

    Re: Cache reset in UI

    We are discussing this and are looking into what it will take to add this feature.  Thank you for your request.
    • Post Points: 5
  • 01-14-2008 9:13 PM In reply to

    • shannon
    • Top 50 Contributor
    • Joined on 03-06-2007
    • Posts 73
    • Points 5,055

    Re: Cache reset in UI

    This feature was included in version 4.1 of CodeSmith.   The refresh icon at the top of the property grid will reset the template cache.

    • Post Points: 5
Page 1 of 1 (3 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems