Exemple #1
0
        public ProductCostHistoryCollection FetchByQuery(Query qry)
        {
            ProductCostHistoryCollection coll = new ProductCostHistoryCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public ProductCostHistoryCollection FetchAll()
        {
            ProductCostHistoryCollection coll = new ProductCostHistoryCollection();
            Query qry = new Query(ProductCostHistory.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }