예제 #1
0
        public TblPaymentCollection FetchByQuery(Query qry)
        {
            TblPaymentCollection coll = new TblPaymentCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public TblPaymentCollection FetchAll()
        {
            TblPaymentCollection coll = new TblPaymentCollection();
            Query qry = new Query(TblPayment.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public TblPaymentCollection FetchByID(object PaymentID)
        {
            TblPaymentCollection coll = new TblPaymentCollection().Where("PaymentID", PaymentID).Load();

            return(coll);
        }