/// <summary>
        /// 获得数据列表
        /// </summary>
        public List <ManagementCenter.Model.HKProfessionInfo> GetModelList(string strWhere)
        {
            DataSet ds = hKProfessionInfoDAL.GetList(strWhere);
            List <ManagementCenter.Model.HKProfessionInfo> modelList = new List <ManagementCenter.Model.HKProfessionInfo>();
            int rowsCount = ds.Tables[0].Rows.Count;

            if (rowsCount > 0)
            {
                ManagementCenter.Model.HKProfessionInfo model;
                for (int n = 0; n < rowsCount; n++)
                {
                    model           = new ManagementCenter.Model.HKProfessionInfo();
                    model.Nindcd    = ds.Tables[0].Rows[n]["Nindcd"].ToString();
                    model.Nindnme   = ds.Tables[0].Rows[n]["Nindnme"].ToString();
                    model.EnNindnme = ds.Tables[0].Rows[n]["EnNindnme"].ToString();
                    modelList.Add(model);
                }
            }
            return(modelList);
        }
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public void Update(ManagementCenter.Model.HKProfessionInfo model)
 {
     hKProfessionInfoDAL.Update(model);
 }
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public void Add(ManagementCenter.Model.HKProfessionInfo model)
 {
     hKProfessionInfoDAL.Add(model);
 }