public ProductListPriceHistoryCollection GetProductListPriceHistoryCollection(string whereExpression, string orderByExpression) { ProductListPriceHistoryData data = new ProductListPriceHistoryData(); ProductListPriceHistoryCollection col = new ProductListPriceHistoryCollection(); try { col = data.GetAllProductListPriceHistorysDynamicCollection(whereExpression, orderByExpression); } catch (Exception ex) { log.Write(ex.Message, "GetProductListPriceHistoryCollection"); throw (ex); } finally { data = null; } return(col); }
public ProductListPriceHistoryCollection GetAllProductListPriceHistoryCollection() { ProductListPriceHistoryData data = new ProductListPriceHistoryData(); ProductListPriceHistoryCollection col = new ProductListPriceHistoryCollection(); try { col = data.GetAllProductListPriceHistoryCollection(); } catch (Exception ex) { log.Write(ex.Message, "GetAllProductListPriceHistoryCollection"); throw (ex); } finally { data = null; } return(col); }