Пример #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);
        }
Пример #3
0
        public VoucherCollection FetchByID(object Id)
        {
            VoucherCollection coll = new VoucherCollection().Where("Id", Id).Load();

            return(coll);
        }