コード例 #1
0
        public Payment GetPayment(int PaymentID)
        {
            PaymentData data = new PaymentData();
            Payment     pay  = new Payment();

            try
            {
                pay = data.GetPayment(PaymentID);
            }
            catch (Exception ex)
            {
                log.Write(ex.Message, "GetPayment");
                throw (ex);
            }
            finally
            {
                data = null;
            }
            return(pay);
        }