/// <summary>
 /// 删除记录
 /// </summary>
 /// <param name="infos">实体</param>
 /// <returns>返回是否成功</returns>
 public bool Del_infos(infos _infos)
 {
     try
     {
         DbHelperSQL.Delete(_infos);
         return true;
     }
     catch { return false; }
 }
 /// <summary>
 /// 添加新纪录
 /// </summary>
 /// <param name="infos">实体</param>
 /// <returns>返回是否成功</returns>
 public bool Add_infos(infos _infos)
 {
     try
     {
         DbHelperSQL.Insert(_infos);
         return true;
     }
     catch { return false; }
 }
 /// <summary>
 /// 删除记录
 /// </summary>
 /// <param name="infos">实体</param>
 /// <returns>是否删除成功</returns>
 public bool Del_infos(infos _infos)
 {
     return _infosDao.Del_infos(_infos);
 }
 /// <summary>
 /// 添加新纪录
 /// </summary>
 /// <param name="infos">实体</param>
 /// <returns>是否添加成功</returns>
 public bool Add_infos(infos _infos)
 {
     return _infosDao.Add_infos(_infos);
 }
 /// <summary>
 /// 更新记录
 /// </summary>
 /// <param name="infos">实体</param>
 /// <returns>是否更新成功</returns>
 public bool Update_infos(infos _infos)
 {
     return _infosDao.Update_infos(_infos);
 }
 /// <summary>
 /// 根据id查找相应的一条记录
 /// </summary>
 /// <param name="id">要查找的ID号</param>
 /// <returns>返回值</returns>
 public infos FindById_infos(int id)
 {
     infos model = new infos();
     return Common<infos>.Dt2Model(model, DbHelperSQL.FindByConditions(model, " " + Common<object>.GetModelInfo(model)[1] + "=" + id.ToString()));
 }
 /// <summary>
 /// 更新对象
 /// </summary>
 /// <param name="infos">实体</param>
 /// <returns>返回是否成功</returns>
 public bool Update_infos(infos _infos)
 {
     try
     {
         DbHelperSQL.Update(_infos);
         return true;
     }
     catch { return false; }
 }