/// <summary>
 /// 获得所有记录
 /// </summary>
 /// <returns>返回所有记录DataTable</returns>
 public DataTable FindAll_infos()
 {
     return(DbHelperSQL.FindByConditions(new 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="conditions">条件</param>
 /// <returns>返回符合条件的DataTable</returns>
 public DataTable FindByCondition_infos(string conditions)
 {
     return(DbHelperSQL.FindByConditions(new infos(), conditions));
 }