예제 #1
0
        private static DiscountType DBMapping(DBDiscountType dbItem)
        {
            if (dbItem == null)
                return null;

            DiscountType item = new DiscountType();
            item.DiscountTypeID = dbItem.DiscountTypeID;
            item.Name = dbItem.Name;

            return item;
        }