对应SQL数据库 关系转对象,表名-类名 ,列名-属性, DeskInfo餐桌类
Posted 影落明湖
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了对应SQL数据库 关系转对象,表名-类名 ,列名-属性, DeskInfo餐桌类相关的知识,希望对你有一定的参考价值。
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace _03大项目 { public class DeskInfo { //DeskId, DeskName, DeskNamePinYin, DeskDelFlag, DeskNum private int _deskId; /// <summary> /// 餐桌的id /// </summary> public int DeskId { get { return _deskId; } set { _deskId = value; } } private string _deskName; /// <summary> /// 餐桌的名字 /// </summary> public string DeskName { get { return _deskName; } set { _deskName = value; } } private string _deskNamePinYin; /// <summary> /// 餐桌的拼音 /// </summary> public string DeskNamePinYin { get { return _deskNamePinYin; } set { _deskNamePinYin = value; } } private int _deskDelFlag; /// <summary> /// 删除标识 0---未删除,1----删除的 /// </summary> public int DeskDelFlag { get { return _deskDelFlag; } set { _deskDelFlag = value; } } private string _deskNum; /// <summary> /// 餐桌的编号 /// </summary> public string DeskNum { get { return _deskNum; } set { _deskNum = value; } } } }
以上是关于对应SQL数据库 关系转对象,表名-类名 ,列名-属性, DeskInfo餐桌类的主要内容,如果未能解决你的问题,请参考以下文章