Example #1
0
        public ProductInventoryCollection FetchByQuery(Query qry)
        {
            ProductInventoryCollection coll = new ProductInventoryCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public ProductInventoryCollection FetchAll()
        {
            ProductInventoryCollection coll = new ProductInventoryCollection();
            Query qry = new Query(ProductInventory.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public ProductInventoryCollection FetchByID(object ProductID)
        {
            ProductInventoryCollection coll = new ProductInventoryCollection().Where("ProductID", ProductID).Load();

            return(coll);
        }