/// <summary>
 /// Create a new Order object.
 /// </summary>
 /// <param name="orderId">Initial value of the OrderId property.</param>
 /// <param name="orderStatus">Initial value of the OrderStatus property.</param>
 /// <param name="version">Initial value of the Version property.</param>
 public static Order CreateOrder(global::System.Int32 orderId, global::System.Int32 orderStatus, global::System.Byte[] version)
 {
     Order order = new Order();
     order.OrderId = orderId;
     order.OrderStatus = orderStatus;
     order.Version = version;
     return order;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the OrderSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderSet(Order order)
 {
     base.AddObject("OrderSet", order);
 }