Tools for design recovery (reengineering) of C# source code with embedded sql statements ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Aksel Lindberg

    Tools for design recovery (reengineering) of C# source code with embedded sql statements ?

    Wonder if somebody know if it exist som tools that makes it possible to get
    a graphical overview of relationships between C# source code components and
    their's interaction with the database tables/elemts (E.g SQL server
    database)

    A typecial rewengineering tool to get a grasp of a system with many
    components acessing multiple tables in a rdm system.

    A tool that parses the C# code for sql/(databse interaction) and presents
    the interaction grahical in som way?

    Many thanks

    Aksel




  • David Portas

    #2
    Re: Tools for design recovery (reengineering) of C# source code with embedded sql statements ?

    You can use SQL Server's Profiler to capture SQL statements issued by
    an application if that helps. Of course it's good practice to perform
    all database interaction through stored procedures and if your code
    follows that practice then your task is presumably just a matter of
    identifying which proc names are referenced where and then documenting
    the procs, which might be done quite simply by querying the SYSCOMMENTS
    table.

    --
    David Portas
    SQL Server MVP
    --

    Comment

    • JT

      #3
      Re: Tools for design recovery (reengineering) of C# source code with embedded sql statements ?

      In additional to using Profiler to trace objects referenced during runtime,
      there are companies who have reverse engineering and project diagraming
      products. Rational is one company that comes to mind.

      Looking for UML tools? Fortunately, there are many products to chose from on the market today. What are they?


      A much cheaper alternative, that may serve your purpose, is to use a regular
      expression based text search tool like Agent Ransack to parse your project
      files for occurances of code that executes ADO commands, declares a data
      bound object, etc. There is even a free version:


      "Aksel Lindberg" <aksel.lindberg @ericsson.com> wrote in message
      news:dgee18$vkl $1@news.al.sw.e ricsson.se...[color=blue]
      > Wonder if somebody know if it exist som tools that makes it possible to
      > get a graphical overview of relationships between C# source code
      > components and their's interaction with the database tables/elemts (E.g
      > SQL server database)
      >
      > A typecial rewengineering tool to get a grasp of a system with many
      > components acessing multiple tables in a rdm system.
      >
      > A tool that parses the C# code for sql/(databse interaction) and presents
      > the interaction grahical in som way?
      >
      > Many thanks
      >
      > Aksel
      >
      >
      >
      >[/color]


      Comment

      • dbahooker@hotmail.com

        #4
        Re: Tools for design recovery (reengineering) of C# source code with embedded sql statements ?

        aksel are you a kid in school?

        i just have never imagine something like this.. are you really scared
        of a cuople of hundred sql statements?

        can't you just copy and paste them?

        throw a little bit of elbow grease into it

        Comment

        Working...