public bool RemoveProductListPriceHistory(ProductListPriceHistory productlistpricehistory) { ProductListPriceHistoryData data = new ProductListPriceHistoryData(); bool ret = false; try { ret = data.DeleteProductListPriceHistory(productlistpricehistory); } catch (Exception ex) { log.Write(ex.Message, "RemoveProductListPriceHistory"); throw (ex); } finally { data = null; } return(ret); }
public ProductListPriceHistory GetProductListPriceHistory(int id) { ProductListPriceHistoryData data = new ProductListPriceHistoryData(); ProductListPriceHistory plph = new ProductListPriceHistory(); try { plph = data.GetProductListPriceHistory(id); } catch (Exception ex) { log.Write(ex.Message, "GetProductListPriceHistory"); throw (ex); } finally { data = null; } return(plph); }
public int AddProductListPriceHistory(ProductListPriceHistory productlistpricehistory) { ProductListPriceHistoryData data = new ProductListPriceHistoryData(); int id = 0; try { id = data.AddProductListPriceHistory(productlistpricehistory); } catch (Exception ex) { log.Write(ex.Message, "AddProductListPriceHistory"); throw (ex); } finally { data = null; } return(id); }
public bool Contains(ProductListPriceHistory productListPriceHistory) { return(this.List.Contains(productListPriceHistory)); }
public void Remove(ProductListPriceHistory productListPriceHistory) { this.List.Remove(productListPriceHistory); }
public void Insert(int index, ProductListPriceHistory productListPriceHistory) { this.List.Insert(index, productListPriceHistory); }
public int IndexOf(ProductListPriceHistory productListPriceHistory) { return(this.List.IndexOf(productListPriceHistory)); }
public int Add(ProductListPriceHistory productListPriceHistory) { return(this.List.Add(productListPriceHistory)); }