Beispiel #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);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new ShoppingCart object.
 /// </summary>
 /// <param name="recordId">Initial value of the RecordId property.</param>
 public static ShoppingCart CreateShoppingCart(global::System.Int32 recordId)
 {
     ShoppingCart shoppingCart = new ShoppingCart();
     shoppingCart.RecordId = recordId;
     return shoppingCart;
 }