Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

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





Report this thread to moderator Post Follow-up to this message
Old Post
Aksel Lindberg
09-16-05 02:23 PM


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
--


Report this thread to moderator Post Follow-up to this message
Old Post
David Portas
09-16-05 02:23 PM


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.
http://www.devx.com/enterprise/Article/9749
http://www.objectsbydesign.com/tool..._byCompany.html

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:
http://www.mythicsoft.com/agentransack/

"Aksel Lindberg" <aksel.lindberg@ericsson.com> wrote in message
 news:dgee18$vkl$1@ne
ws.al.sw.ericsson.se...
> 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
>
>
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
JT
09-16-05 02:23 PM


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


Report this thread to moderator Post Follow-up to this message
Old Post
dbahooker@hotmail.com
09-28-05 04:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 02:20 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006