Esempio n. 1
0
        public PaymentTypeCollection FetchByQuery(Query qry)
        {
            PaymentTypeCollection coll = new PaymentTypeCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public PaymentTypeCollection FetchAll()
        {
            PaymentTypeCollection coll = new PaymentTypeCollection();
            Query qry = new Query(PaymentType.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public PaymentTypeCollection FetchByID(object Id)
        {
            PaymentTypeCollection coll = new PaymentTypeCollection().Where("Id", Id).Load();

            return(coll);
        }