Click here to Skip to main content
15,891,253 members
Articles / Programming Languages / C#

SQLDoc Sharp

Rate me:
Please Sign up or sign in to vote.
3.91/5 (9 votes)
23 Apr 2009CPL2 min read 96.5K   3.4K   40  
SQLDoc Sharp, an interactive tool designed to generate the SQL Server 2005/2008 documentation.
using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;
using System.Data;

namespace SQLDocGenerator
{
    public class UserDefinedTypesHelper
    {
        private static DataTable userDefinedTypes = new DataTable("UserDefinedTypes");

        public static DataTable UserDefinedTypes { get { return userDefinedTypes; } }

        public static void GetUserDefinedTypes()
        {
            userDefinedTypes = Utility.DBConnection.GetSchema("UserDefinedTypes");
            Utility.PrintDatatable(userDefinedTypes);
            Utility.WriteXML(userDefinedTypes, userDefinedTypes.TableName + ".xml");
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Common Public License Version 1.0 (CPL)


Written By
Architect
India India
An engineer with approx. 8 years of excellent experience in middle tier applications, analysis, design, development, testing, and maintenance of various client server/web based applications. Has the ability to handle multiple task(s), work independently as well as in team. Motivated, energetic with demonstrated proficiency for learning new technologies and business environments to provide effective and efficient IT solution(s) that envisage a futuristic approach with distributed and object oriented technologies.

Comments and Discussions