/// <summary> /// Create a new OrderStatus object. /// </summary> /// <param name="orderStatusId">Initial value of the OrderStatusId property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="active">Initial value of the Active property.</param> public static OrderStatus CreateOrderStatus(global::System.Int32 orderStatusId, global::System.String description, global::System.Boolean active) { OrderStatus orderStatus = new OrderStatus(); orderStatus.OrderStatusId = orderStatusId; orderStatus.Description = description; orderStatus.Active = active; return orderStatus; }
/// <summary> /// Deprecated Method for adding a new object to the OrderStatus1 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrderStatus1(OrderStatus orderStatus) { base.AddObject("OrderStatus1", orderStatus); }