public ProductListPriceHistoryCollection FetchByQuery(Query qry) { ProductListPriceHistoryCollection coll = new ProductListPriceHistoryCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ProductListPriceHistoryCollection FetchAll() { ProductListPriceHistoryCollection coll = new ProductListPriceHistoryCollection(); Query qry = new Query(ProductListPriceHistory.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ProductListPriceHistoryCollection FetchByID(object ProductID) { ProductListPriceHistoryCollection coll = new ProductListPriceHistoryCollection().Where("ProductID", ProductID).Load(); return(coll); }