public void Update(ShoppingCart shoppingCart)
        {
            if(shoppingCart == null) throw new ArgumentNullException("shoppingCart");

            using(var context = new MyShopReadModelDataContext())
            {
                context.ShoppingCarts.Attach(shoppingCart, true);
                context.SubmitChanges();
            }
        }
 partial void UpdateShoppingCart(ShoppingCart instance);
 partial void DeleteShoppingCart(ShoppingCart instance);
 partial void InsertShoppingCart(ShoppingCart instance);