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

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

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

            return(coll);
        }