/// <summary>
        /// 获得数据列表
        /// </summary>
        public List <Dianda.Model.Project_SignetList> DataTableToList(DataTable dt)
        {
            List <Dianda.Model.Project_SignetList> modelList = new List <Dianda.Model.Project_SignetList>();
            int rowsCount = dt.Rows.Count;

            if (rowsCount > 0)
            {
                Dianda.Model.Project_SignetList model;
                for (int n = 0; n < rowsCount; n++)
                {
                    model = new Dianda.Model.Project_SignetList();
                    if (dt.Rows[n]["ID"].ToString() != "")
                    {
                        model.ID = int.Parse(dt.Rows[n]["ID"].ToString());
                    }
                    model.SignetName = dt.Rows[n]["SignetName"].ToString();
                    model.SignetNum  = dt.Rows[n]["SignetNum"].ToString();
                    model.Infors     = dt.Rows[n]["Infors"].ToString();
                    if (dt.Rows[n]["DELFLAG"].ToString() != "")
                    {
                        model.DELFLAG = int.Parse(dt.Rows[n]["DELFLAG"].ToString());
                    }
                    modelList.Add(model);
                }
            }
            return(modelList);
        }
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public void Update(Dianda.Model.Project_SignetList model)
 {
     dal.Update(model);
 }
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public int  Add(Dianda.Model.Project_SignetList model)
 {
     return(dal.Add(model));
 }