/// <summary>
 /// Create a new Cart object.
 /// </summary>
 /// <param name="cartID">Initial value of the CartID property.</param>
 /// <param name="customerID">Initial value of the CustomerID property.</param>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 public static Cart CreateCart(global::System.Int32 cartID, global::System.Int32 customerID, global::System.Int32 productID, global::System.Int32 quantity)
 {
     Cart cart = new Cart();
     cart.CartID = cartID;
     cart.CustomerID = customerID;
     cart.ProductID = productID;
     cart.Quantity = quantity;
     return cart;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Carts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCarts(Cart cart)
 {
     base.AddObject("Carts", cart);
 }