Menu

Version to build the code

xlar54
2005-04-03
2013-04-02
  • xlar54

    xlar54 - 2005-04-03

    Is the source for this application for v1.1 or 1.0 of the .NET framework?

    The app works great, but Id like to modify it to include some other SQL datatypes such as money, or smalldatetime.

    Also would like the ability to turn off word wrap and set font size. Guess Im just picky...

    lol... but great application.  I downloaded some other code generators, and this is much simpler to use.

     
    • Victor Y. Dominguez

      Hi,

      First of all. It's is great to know that you have found it useful.

      Second... It is develop under the  v1.1 framework.

      And then there are some documentation that I haven't made available yet. For example how to add more SQL datatypes...  and this is one thing that you can do very easy without compiling.

      Ok, here it is how you can acomplish this:

      Go to the file named DataTypeMapping.xml that is in the same folder as the exe of the codegenerator and there you will find something like this... here is where you can add any SQL Type that you like.

      <DataTypes>
         <Language name="CSharp" selected="true">
            <SqlType name="int">int</SqlType>
            <SqlType name="bigint">int</SqlType>
            <SqlType name="smallint">int</SqlType>
            ...
         </Language>
      </DataTypes>

      Thanks!

      And I will try to add some nice features in future releases, like the ones that you have mention (Font, word wrap.. ) If you can help with this, you are more than welcome.

       

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.