Menu

Discover and code in foreign keys

2005-08-09
2013-04-02
  • Martin Trevena

    Martin Trevena - 2005-08-09

    HI
    This is an exciting little program.
    I ahve been using Codesmith and it is very powerful but a lot more template design than yours.
    I like this a lot.

    I would like to be able to discover the relationships in my database and have my C# classes include the children of a class.

    Is there and easy way to do this in a template or can you suggest anything else.
    Thanks
    Martin

     
    • Victor Y. Dominguez

      Hi,

      Good, that is an excelent Idea, but saddly right now is not supported, but let me think on how to implement it...  I am thinking in a sintax like this:

      {IF COLUMN.ISFOREIGNKEY}
          {COLUMN.FKTABLENAME} or
          {COLUMN.FTABLE.NAME}

      {/IF}

      Let me know if you have a better idea..

      I will let you know when I have this working.

      Thanks!

      V

       
    • Martin Trevena

      Martin Trevena - 2005-08-10

      Thanks for responding.

      I would be interested to hear from you if you get this functionality into the app as it would make the app useful to me and I am gessing others if it did have that functionality.
      Let me know and if I figure it out I 'll let you know.

      Thanks
      Martin

       

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.