CodeSmith Community
Your Code. Your Way. Faster!

Create a orderby builder

Latest post 05-22-2008 7:30 PM by blake05. 23 replies.
  • 03-22-2008 10:40 AM In reply to

    • Rippo
    • Top 75 Contributor
    • Joined on 05-06-2005
    • UK
    • Posts 61
    • Points 1,455

    Re: PATCH: SortBuilder

    Tried patch on 709 (got from trunk) but build fails.

    709 compiles fine without the patch! 

    Richard Wilde wildesoft.net

    • Post Points: 35
  • 03-24-2008 10:07 AM In reply to

    • CitizenBane
    • Top 50 Contributor
    • Joined on 10-30-2007
    • Grand Rapids, MI
    • Posts 94
    • Points 1,740

    Re: PATCH: SortBuilder

    Odd.. I just got 709 and it worked for me! (I swear!)

    Just in case something got funked up, here's another patch, but for 709....

    (Edit: Down below...)

     

    I'm outside ur box, shiftin' ur paradigm.
    • Post Points: 35
  • 03-25-2008 2:46 AM In reply to

    • Rippo
    • Top 75 Contributor
    • Joined on 05-06-2005
    • UK
    • Posts 61
    • Points 1,455

    Re: PATCH: SortBuilder

    Mightly strange...

    Can open NetTiers.cst (709) up no problems, when I apply patch and open up NetTiers.cs I get the following error...

    ---------------- Compile started -----------------
    E:\websites\NetTiersTest\NetTiersv709\DataAccessLayer\Bases\EntityProviderBaseCoreClass.generated.cst(1,0): error CODESMITH0007: CodeTemplate directive can not appear after content.

    I have opened the file and have found a ? before <%@ CodeTemplate Language="C#"

    I removed the ? and now the template compiles fine, I will have a look late today to test the new functionality

    Maybe its my version of subversion, it does appear slightly out of date  1.4.5  -- 26/08/2007!

    Richard Wilde wildesoft.net

    • Post Points: 35
  • 03-25-2008 9:16 AM In reply to

    • CitizenBane
    • Top 50 Contributor
    • Joined on 10-30-2007
    • Grand Rapids, MI
    • Posts 94
    • Points 1,740

    I already found a bug and fixed it.... (SqlSortColumnCollection needed to be instantiated)

    Attached is the new patch.

    I'm outside ur box, shiftin' ur paradigm.
    • Post Points: 35
  • 03-27-2008 2:39 AM In reply to

    • Rippo
    • Top 75 Contributor
    • Joined on 05-06-2005
    • UK
    • Posts 61
    • Points 1,455

    Re: PATCH: SortBuilder

    Hi guys

    Have tested this on views and tables and all seems great! Well done Citizen....

    Can this patch make its way into the next release of NetTiers as this works great.

    Thanks

    Rippo 

    Richard Wilde wildesoft.net

    • Post Points: 35
  • 03-30-2008 1:33 PM In reply to

    • klawry
    • Not Ranked
    • Joined on 03-30-2008
    • Posts 2
    • Points 40

    Re: PATCH: SortBuilder

    I'm sure this is great functionality.  Unfortunately, revision 710 introduced a problem into the templates that has broken compatibility with version 3.2 of CodeSmith (I realize it's an older version of CodeSmith but my company won't shell out $ for the latest yet).  With this revision of NetTiers, the Properties window does not appear so it is impossible to configure the tables, views and other properties prior to code generation.  When I revert back to revision 709, the Properties window works perfectly fine.  Anyone else having trouble with revision 710?

    • Post Points: 35
  • 03-31-2008 6:58 AM In reply to

    • mike123
    • Top 10 Contributor
    • Joined on 02-25-2005
    • Toronto, Ontario
    • Posts 726
    • Points 16,910

    Re: PATCH: SortBuilder

    fixed in rev. 711 

    Mike Shatny
    --------------------------------------------------------------
    Member of the .netTiers team http://www.nettiers.com
    --------------------------------------------------------------

    • Post Points: 35
  • 04-02-2008 9:11 AM In reply to

    • klawry
    • Not Ranked
    • Joined on 03-30-2008
    • Posts 2
    • Points 40

    Re: PATCH: SortBuilder

    Excellent!!!  Thanks so much for the quick fix.  Works great now.

    • Post Points: 5
  • 05-22-2008 7:30 PM In reply to

    • blake05
    • Top 25 Contributor
    • Joined on 04-03-2008
    • Wisconsin
    • Posts 352
    • Points 6,210

    Re: PATCH: SortBuilder

     Hello,

    We have added this to our to-do list. You can check the status of this here

    Thanks

    -Blake

    Blake Niemyjski

    CodeSmith Tools, LLC Support Specialist

    Blog: http://windowscoding.com/blogs/blake/

    ----------------------------------------------------------------------
     Member of the .NetTiers team | Visit http://www.nettiers.com
    ----------------------------------------------------------------------

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