Click here to Skip to main content
15,888,007 members
Articles / Desktop Programming / Win32

SQL Class Shell Generator

Rate me:
Please Sign up or sign in to vote.
4.87/5 (65 votes)
8 Jan 2009CPOL6 min read 218.8K   3.3K   233  
Generate class shells from SQL Server database tables, (SQL 2005 & 2008 only). Output languages supported: C# and VB.NET.
public enum class UserTypes sealed : System::Byte {
    
    // Hex value is: 00000000
    SQLRole = 0,
    
    // Hex value is: 00000001
    SQLUser = 1,
    
    // Hex value is: 00000002
    NTGroup = 2,
    
    // Hex value is: 00000003
    NTUser = 3,
};

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 Code Project Open License (CPOL)


Written By
Software Developer
Denmark Denmark

Comments and Discussions