Menu

great tool and a question

AlainB
2005-10-10
2013-04-02
  • AlainB

    AlainB - 2005-10-10

    Hi ,
    I discovered your tool , and i find it really useful and much more simple than codesmith.
    Thank You !
    But , :-)
    Could it be possible to loop through the tables like the
    {TABLE.COLUMNS}..{/TABLE.COLUMNS} ?
    a bit like {TABLE.NAMES} ...{/TABLE.NAMES}  ??

     
    • Victor Y. Dominguez

      Hi,

      Sorry for the delay!

      I am glad to read that you found this tool useful. :-)
      But one question, what use would you give if I add the {TABLE.NAMES} or {DATABASE.TABLES} => {TABLE.NAME} ?

      Can you give an example.

      I will try to work on this.

      Thanks

      Victor

       
    • AlainB

      AlainB - 2005-10-15

      Yes of course ,
      i often create DAL (Data access layers) classes for tens of tables : a typical class is like this :

      Public Class MYTABLE_entities
          Dim _RegionID As Integer
          Public Property RegionID() As Integer
              Get
                  Return _RegionID
              End Get
              Set(ByVal Value As Integer)
                  _RegionID = Value
              End Set
          End Property

          Dim _RegionDescription As String
          Public Property RegionDescription() As String
              Get
                  Return _RegionDescription
              End Get
              Set(ByVal Value As String)
                  _RegionDescription = Value
              End Set
          End Property
      End Class
      ( where MYTABLE is the name of my table)

      and to create my projects , i need to create 4 or 5 templates for each table, if i have 10 tables , i will need to select 50 times a file , launch the template generator , and save it.
      and i persist , your tool is very usefull :-)

       
      • Victor Y. Dominguez

        uhmm... I think I have very good news for you.

        Right now I am working on a new feature that I believe you will like.

        Right now I just can show you a preview.

        http://codegenerator.sourceforge.net/sample.htm

        But I will release this version next week if everything goes well.

        Thanks

        V

         
        • AlainB

          AlainB - 2005-10-15

          Argh !
          i love you , do you want to marry me :-)
          more seriously , it is a really good feature for this tool ,

          currently i was trying to loop through the tables with the sources of your application, in order to create like a batching process , but i must admit that i had some troubles to figure out how to do it (i don't know how to select a specific table by program in the datanavigator control ), it seems that the process of selecting a table is very dependant of the control itself.
          in the same time , i am a VB.net programer and c# seems always a bit cryptic to me
          Thank you.

           

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.