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

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

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

            return(coll);
        }