Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ShoppingCarts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToShoppingCarts(ShoppingCart shoppingCart)
 {
     base.AddObject("ShoppingCarts", shoppingCart);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new ShoppingCart object.
 /// </summary>
 /// <param name="cart_id">Initial value of the cart_id property.</param>
 public static ShoppingCart CreateShoppingCart(global::System.Int32 cart_id)
 {
     ShoppingCart shoppingCart = new ShoppingCart();
     shoppingCart.cart_id = cart_id;
     return shoppingCart;
 }