示例#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);
        }
示例#3
0
        public ProductCostHistoryCollection FetchByID(object ProductID)
        {
            ProductCostHistoryCollection coll = new ProductCostHistoryCollection().Where("ProductID", ProductID).Load();

            return(coll);
        }