/// <summary> /// Deprecated Method for adding a new object to the OrderStatus EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrderStatus(OrderStatu orderStatu) { base.AddObject("OrderStatus", orderStatu); }
/// <summary> /// Create a new OrderStatu object. /// </summary> /// <param name="orderStatusID">Initial value of the OrderStatusID property.</param> /// <param name="statusLabel">Initial value of the StatusLabel property.</param> public static OrderStatu CreateOrderStatu(global::System.Int16 orderStatusID, global::System.String statusLabel) { OrderStatu orderStatu = new OrderStatu(); orderStatu.OrderStatusID = orderStatusID; orderStatu.StatusLabel = statusLabel; return orderStatu; }