예제 #1
0
        static Receipt testReinstantiateReceipt(long RID)
        {
            ReceiptService rs = new ReceiptService();
            Receipt        r  = rs.getUsingID(RID);

            return(r);
        }
예제 #2
0
        static void testModifyRewriteReceipt(long RID)
        {
            ReceiptService rs = new ReceiptService();
            Receipt        r  = rs.getUsingID(10);

            Console.WriteLine(r);
            r.setNote("This purchase is for a purchase!");
            Console.WriteLine("\nAfter change: \n" + r);
            rs.update(r);
        }