示例#1
0
        public TblPaymentCollection FetchByQuery(Query qry)
        {
            var coll = new TblPaymentCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public TblPaymentCollection FetchAll()
        {
            var coll = new TblPaymentCollection();
            var 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);
        }