Exemplo n.º 1
0
        public ProductInventoryCollection FetchByQuery(Query qry)
        {
            ProductInventoryCollection coll = new ProductInventoryCollection();

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

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

            return(coll);
        }