Пример #1
0
        public VoucherCollection FetchByQuery(Query qry)
        {
            VoucherCollection coll = new VoucherCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public VoucherCollection FetchAll()
        {
            VoucherCollection coll = new VoucherCollection();
            Query             qry  = new Query(Voucher.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }