/// <summary> /// 根据条件 删除实体 /// </summary> /// <param name="doWhere"></param> /// <returns></returns> public int DelByWhere(Expression <Func <T, bool> > doWhere) { try { return(CurrentRepository.DelByWhere(doWhere)); } catch (Exception ex) { throw ex; } }