/// <summary> /// Deprecated Method for adding a new object to the Orders EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrders(Order order) { base.AddObject("Orders", order); }
/// <summary> /// Create a new Order object. /// </summary> /// <param name="orderId">Initial value of the OrderId property.</param> /// <param name="masterOrderId">Initial value of the MasterOrderId property.</param> /// <param name="fillLocId">Initial value of the FillLocId property.</param> public static Order CreateOrder(global::System.Int32 orderId, global::System.Int32 masterOrderId, global::System.Int32 fillLocId) { Order order = new Order(); order.OrderId = orderId; order.MasterOrderId = masterOrderId; order.FillLocId = fillLocId; return order; }