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 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); }
public bool Contains(ProductAdjustmentHistory productAdjustmentHistory) { return(this.List.Contains(productAdjustmentHistory)); }
public void Remove(ProductAdjustmentHistory productAdjustmentHistory) { this.List.Remove(productAdjustmentHistory); }
public void Insert(int index, ProductAdjustmentHistory productAdjustmentHistory) { this.List.Insert(index, productAdjustmentHistory); }
public int IndexOf(ProductAdjustmentHistory productAdjustmentHistory) { return(this.List.IndexOf(productAdjustmentHistory)); }
public int Add(ProductAdjustmentHistory productAdjustmentHistory) { return(this.List.Add(productAdjustmentHistory)); }