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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public PurchaseOrderHeaderCollection FetchAll()
        {
            PurchaseOrderHeaderCollection coll = new PurchaseOrderHeaderCollection();
            Query qry = new Query(PurchaseOrderHeader.Schema);

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

            return(coll);
        }