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

            if (rowsCount > 0)
            {
                MobileSoft.Model.Resources.TB_Resources_ReleaseService model;
                for (int n = 0; n < rowsCount; n++)
                {
                    model = new MobileSoft.Model.Resources.TB_Resources_ReleaseService();
                    //model.ReleaseServiceID=dt.Rows[n]["ReleaseServiceID"].ToString();
                    //model.ReleaseID=dt.Rows[n]["ReleaseID"].ToString();
                    model.ReleaseServiceContent  = dt.Rows[n]["ReleaseServiceContent"].ToString();
                    model.ReleaseServiceNeedKnow = dt.Rows[n]["ReleaseServiceNeedKnow"].ToString();
                    modelList.Add(model);
                }
            }
            return(modelList);
        }
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public void Update(MobileSoft.Model.Resources.TB_Resources_ReleaseService model)
 {
     dal.Update(model);
 }
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public void  Add(MobileSoft.Model.Resources.TB_Resources_ReleaseService model)
 {
     dal.Add(model);
 }