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

            if (rowsCount > 0)
            {
                university.Model.CCOM.Examination_arrangement_detail model;
                for (int n = 0; n < rowsCount; n++)
                {
                    model = new university.Model.CCOM.Examination_arrangement_detail();
                    if (dt.Rows[n]["Ead_id"].ToString() != "")
                    {
                        model.Ead_id = long.Parse(dt.Rows[n]["Ead_id"].ToString());
                    }
                    if (dt.Rows[n]["Ea_id"].ToString() != "")
                    {
                        model.Ea_id = int.Parse(dt.Rows[n]["Ea_id"].ToString());
                    }
                    if (dt.Rows[n]["User_id"].ToString() != "")
                    {
                        model.User_id = long.Parse(dt.Rows[n]["User_id"].ToString());
                    }


                    modelList.Add(model);
                }
            }
            return(modelList);
        }
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public bool Update(university.Model.CCOM.Examination_arrangement_detail model)
 {
     return(dal.Update(model));
 }
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public long  Add(university.Model.CCOM.Examination_arrangement_detail model)
 {
     return(dal.Add(model));
 }