Menu

CodeSmith

womber
2004-09-22
2013-03-07
  • womber

    womber - 2004-09-22

    I am currently re-jigging a CodeSmith (a Code generator) script that comes with Gentle.Net (another persistence framework). So that it can produce VB Business Objects (it currently does C# only). I am doing it in a rush because I am working on a project that uses ATomsFramework as its persistence layer. And time is tight. I will try and provide it somehow to you once it is finished but extra development on it, if needed, would be welcome.

     
    • Richard Banks

      Richard Banks - 2004-09-22

      Hi Womber,

      That would be great.  I'm in the final stages of writing a tool to generate the XML mapping file, and after that I will be doing code generation via templates.

      If you have something that works I'd love to see it.  You can either email it to me, or post it as a patch or RFE.

      - Richard.

       
    • womber

      womber - 2004-10-07

      Hi All,

      I have finally finished that script. I hope some of you out there can help to beef it up and improve it. For e.g. being able to generate AFAssociation and AFAssociationEntry attributes based on  the database schema.

      I have one niggling problem with it and thats Visual Studio. When I hit the "Format Document" shortcut it changes my class names to for e.g. _Cases to _cases or _CaseStatus to _caseStatus. This is becoming annoying. Is there anyway of configuring VS.NET to stop doing this? Or is there an Add-In I can get to override formatting ?

      Also where do I post the script to. Richard can you help me out.

       
      • Richard Banks

        Richard Banks - 2004-10-07

        You can post it as a patch.  Just create a patch and attach the script to it.  Alternatively you can  just email it to me.

        I think I'd better go and grab a copy of codesmith now :-)

         
    • womber

      womber - 2004-10-12

      Oops, I am sorry for the delay in posting. A combination of forgetfulness and that I have just found a bug. Will promise to post by end of tommorrow.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.