public DataSet GetAllProductAdjustmentHistoryDataSet() { DataSet ds = new DataSet(); try { ds = data.GetAllProductAdjustmentHistoryDataSet(); } catch (Exception ex) { log.Write(ex.Message, "GetAllProductAdjustmentHistoryDataSet"); throw (ex); } finally { data = null; } return(ds); }
public ProductAdjustmentHistory GetProductAdjustmentHistory(int pahId) { ProductAdjustmentHistory pah = new ProductAdjustmentHistory(); try { pah = data.GetProductAdjustmentHistory(pahId); } catch (Exception ex) { log.Write(ex.Message, "GetProductAdjustmentHistorys"); throw (ex); } finally { data = null; } return(pah); }
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 DataSet GetProductAdjustmentHistoryDataSet(string where, string orderBy) { DataSet ds = new DataSet(); try { ds = data.GetProductAdjustmentHistoryDynamicDataSet(where, orderBy); } catch (Exception ex) { log.Write(ex.Message, "GetProductAdjustmentHistoryDataSet"); throw (ex); } finally { data = null; } return(ds); }
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); }
public int AddProductAdjustmentHistory(ProductAdjustmentHistory productadjustmenthistory) { // bool ret = false; int id = 0; try { id = data.AddProductAdjustmentHistory(productadjustmenthistory); } catch (Exception ex) { log.Write(ex.Message, "AddProductAdjustmentHistory"); throw (ex); } finally { data = null; } return(id); }