/// <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(Orders orders) { base.AddObject("Orders", orders); }
/// <summary> /// Create a new Orders 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 Orders CreateOrders(global::System.Int32 order_ID, global::System.String customer_ID) { Orders orders = new Orders(); orders.Order_ID = order_ID; orders.Customer_ID = customer_ID; return orders; }