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

            if (rowsCount > 0)
            {
                MobileSoft.Model.Resources.Tb_Resources_ReleaseVenuesSchedulingDetails model;
                for (int n = 0; n < rowsCount; n++)
                {
                    model = new MobileSoft.Model.Resources.Tb_Resources_ReleaseVenuesSchedulingDetails();
                    //model.ReleaseVenuesSchedulingDetailsID=dt.Rows[n]["ReleaseVenuesSchedulingDetailsID"].ToString();
                    model.ReleaseVenuesSchedulingDetailsStartTime = dt.Rows[n]["ReleaseVenuesSchedulingDetailsStartTime"].ToString();
                    model.ReleaseVenuesSchedulingDetailsEndTime   = dt.Rows[n]["ReleaseVenuesSchedulingDetailsEndTime"].ToString();
                    if (dt.Rows[n]["ReleaseVenuesSchedulingDetailsSalePrice"].ToString() != "")
                    {
                        model.ReleaseVenuesSchedulingDetailsSalePrice = decimal.Parse(dt.Rows[n]["ReleaseVenuesSchedulingDetailsSalePrice"].ToString());
                    }
                    if (dt.Rows[n]["ReleaseVenuesSchedulingDetailsDiscountPrice"].ToString() != "")
                    {
                        model.ReleaseVenuesSchedulingDetailsDiscountPrice = decimal.Parse(dt.Rows[n]["ReleaseVenuesSchedulingDetailsDiscountPrice"].ToString());
                    }
                    //model.ReleaseVenuesID=dt.Rows[n]["ReleaseVenuesID"].ToString();
                    modelList.Add(model);
                }
            }
            return(modelList);
        }
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public void Update(MobileSoft.Model.Resources.Tb_Resources_ReleaseVenuesSchedulingDetails model)
 {
     dal.Update(model);
 }
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public long  Add(MobileSoft.Model.Resources.Tb_Resources_ReleaseVenuesSchedulingDetails model)
 {
     return(dal.Add(model));
 }