usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;namespace_03 Major Item { Public classDeskinfo {//Deskid, Deskname, Desknamepinyin, Deskdelflag, Desknum Private int_deskid; /// <summary> ///the ID of the dining table/// </summary> Public intDeskid {Get{return_deskid;} Set{_deskid =value;} } Private string_deskname; /// <summary> ///the name of the table/// </summary> Public stringDeskname {Get{return_deskname;} Set{_deskname =value;} } Private string_desknamepinyin; /// <summary> ///the pinyin of the dining table/// </summary> Public stringDesknamepinyin {Get{return_desknamepinyin;} Set{_desknamepinyin =value;} } Private int_deskdelflag; /// <summary> ///Delete Identity 0---not deleted, 1----deleted/// </summary> Public intDeskdelflag {Get{return_deskdelflag;} Set{_deskdelflag =value;} } Private string_desknum; /// <summary> ///the number of the table/// </summary> Public stringDesknum {Get{return_desknum;} Set{_desknum =value;} } }}
corresponding to SQL database relational to object, table name-class name, column Name-Property, Deskinfo table class