/// <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="order_ID">Initial value of the Order_ID property.</param> /// <param name="customer_ID">Initial value of the Customer_ID property.</param> public static Order CreateOrder(global::System.Int32 order_ID, global::System.String customer_ID) { Order order = new Order(); order.Order_ID = order_ID; order.Customer_ID = customer_ID; return order; }