/// <summary> /// 按条件删除多条数据 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="dc"></param> /// <param name="tentitys"></param> /// <param name="fun"></param> public static bool DeleteToMany(Expression <Func <WaterTestConfigureSet, bool> > fun) { bool rbool = true; try { LinQBaseDao.DeleteToMany <WaterTestConfigureSet>(new DCQUALITYDataContext(), fun); } catch { rbool = false; } return(rbool); }
/// <summary> /// 按条件删除多条数据 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="dc"></param> /// <param name="tentitys"></param> /// <param name="fun"></param> public static bool DeleteToMany(Expression <Func <LogInfo, bool> > fun) { bool rbool = true; try { LinQBaseDao.DeleteToMany <LogInfo>(new DCQUALITYDataContext(), fun); } catch { rbool = false; } return(rbool); }
/// <summary> /// 按条件删除多条数据 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="dc"></param> /// <param name="tentitys"></param> /// <param name="fun"></param> public static bool DeleteToMany(Expression <Func <MATERIAL_QC_INTERFACE, bool> > fun) { bool rbool = true; try { LinQBaseDao.DeleteToMany <MATERIAL_QC_INTERFACE>(new DCQUALITYDataContext(), fun); } catch { rbool = false; } return(rbool); }