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

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

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