コード例 #1
0
        public PaymentCollection GetPaymentsCollection(string where, string orderby)
        {
            PaymentData       data = new PaymentData();
            PaymentCollection col  = new PaymentCollection();

            try
            {
                col = data.GetAllPaymentDynamicCollection(where, orderby);
            }
            catch (Exception ex)
            {
                log.Write(ex.Message, "GetPaymentsCollection");
                throw (ex);
            }
            finally
            {
                data = null;
            }
            return(col);
        }
コード例 #2
0
        public PaymentCollection GetAllPaymentsCollection()
        {
            PaymentData       data = new PaymentData();
            PaymentCollection col  = new PaymentCollection();

            try
            {
                col = data.GetAllPaymentCollection();
            }
            catch (Exception ex)
            {
                log.Write(ex.Message, "GetAllPaymentsCollection");
                throw (ex);
            }
            finally
            {
                data = null;
            }
            return(col);
        }