public ProductAdjustmentHistoryCollection GetProductAdjustmentHistoryCollection(string where, string orderBy) { ProductAdjustmentHistoryCollection col = new ProductAdjustmentHistoryCollection(); try { col = data.GetAllProductAdjustmentHistoryDynamicCollection(where, orderBy); } catch (Exception ex) { log.Write(ex.Message, "GetProductAdjustmentHistoryCollection"); throw (ex); } finally { data = null; } return(col); }
public ProductAdjustmentHistoryCollection GetAllProductAdjustmentHistoryCollection() { ProductAdjustmentHistoryCollection col = new ProductAdjustmentHistoryCollection(); try { col = data.GetAllProductAdjustmentHistoryCollection(); } catch (Exception ex) { log.Write(ex.Message, "GetAllProductAdjustmentHistoryCollection"); throw (ex); } finally { data = null; } return(col); }