Exemplo n.º 1
0
        private CartItemComponentModel CreateCartItemComponentModel(MOrder_OrderItemComponent from)
        {
            var to = new CartItemComponentModel();

            Copy(to, from);
            return(to);
        }
Exemplo n.º 2
0
 private void Copy(CartItemComponentModel to, MOrder_OrderItemComponent from)
 {
     to.Description = from.Description;
     to.Quantity    = from.Quantity;
     //to.Sku = from.Sku;
     to.TotalPrice = from.TotalPrice;
     to.UnitPrice  = from.UnitPrice;
 }