/// <summary> /// /// </summary> /// <param name="textWhere"></param> /// <param name="textOrder"></param> /// <param name="pageIndex"></param> /// <param name="pageRow"></param> /// <param name="dataCount"></param> /// <returns></returns> public List <WarehouseInfo> GetListByPage(string textWhere, string textOrder, int pageIndex, int pageRow, out int dataCount) { dataCount = dal.GetCounts(textWhere); return(dal.GetListByPage(textWhere, textOrder, pageIndex, pageRow)); }