Ejemplo n.º 1
0
        public void LoadCart()
        {
            int            i;
            DatabaseDriver databaseDriver = new DatabaseDriver();

            Cart = new ObservableCollection <Cart>();
            var cart = databaseDriver.GetCartDB();

            for (i = 0; i < cart.Count; i++)
            {
                Cart.Add(cart[i]);
            }
        }