Click here to Skip to main content
15,881,898 members
Articles / Programming Languages / C#

A Tool to create N-Layer Architecture Classes

Rate me:
Please Sign up or sign in to vote.
4.87/5 (18 votes)
6 Jun 2016CPOL8 min read 67.8K   10.9K   126  
This tool is used to create N-Layer Architecture classes.

namespace ClassGeneratorEvents
{
    /// <summary>
    /// The class that contains the column information of a sql table.
    /// </summary>
    public class ColumnInformation
    {
        /// <summary>
        /// The type of the column of the sql table for cs.
        /// </summary>
        public string CSType { get; set; }

        /// <summary>
        /// The type of the column of the sql table for vb.
        /// </summary>
        public string VBType { get; set; }

        /// <summary>
        /// The name of sql column of the sql table.
        /// </summary>
        public string SqlName { get; set; }

        /// <summary>
        /// The name of the column name of the sql table.
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// The constructor that initalizes the column information class.
        /// </summary>
        /// <param name="CSType">The type of the column of the sql table for cs.</param>
        /// <param name="VBType">The type of the column of the sql table for vb.</param>
        /// <param name="SqlName">The name of sql column of the sql table.</param>
        /// <param name="Name">The name of the column name of the sql table.</param>
        public ColumnInformation(string CSType, string VBType, string SqlName, string Name)
        {
            this.CSType = CSType;
            this.VBType = VBType;
            this.SqlName = SqlName;
            this.Name = Name;
        }
    }
}

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
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions