コード例 #1
0
        public static DiscountProperties getVendorDiscountInfo(string vendorId)
        {
            DiscountProperties discountInfo = new DiscountProperties();

            return(discountInfo = DiscountDBProcessHandler.getDiscountOfCustomer(vendorId));
        }
コード例 #2
0
        public int  getCustomerDiscountRate()
        {
            DiscountProperties discount = DiscountDBProcessHandler.getDiscountOfCustomer("DIS1");

            return(Convert.ToInt16(discount.Discount_Rate));
        }