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

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

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

            return(coll);
        }