Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Orders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrders(Order order)
 {
     base.AddObject("Orders", order);
 }
Example #2
0
 /// <summary>
 /// Create a new Order object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="orderNumber">Initial value of the OrderNumber property.</param>
 /// <param name="shopifyID">Initial value of the ShopifyID property.</param>
 /// <param name="shopifyName">Initial value of the ShopifyName property.</param>
 /// <param name="subtotal">Initial value of the Subtotal property.</param>
 /// <param name="total">Initial value of the Total property.</param>
 /// <param name="email">Initial value of the Email property.</param>
 public static Order CreateOrder(global::System.Int32 id, global::System.String orderNumber, global::System.Int32 shopifyID, global::System.String shopifyName, global::System.String subtotal, global::System.Decimal total, global::System.String email)
 {
     Order order = new Order();
     order.ID = id;
     order.OrderNumber = orderNumber;
     order.ShopifyID = shopifyID;
     order.ShopifyName = shopifyName;
     order.Subtotal = subtotal;
     order.Total = total;
     order.Email = email;
     return order;
 }