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

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

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

            return(coll);
        }