public static SaveResult Insert(OrderStatus orderStatus)
 {
     return(orderStatus.Save());
 }
 public static bool Delete(OrderStatus orderStatus)
 {
     return(orderStatus.Delete());
 }
 public static SaveResult Update(OrderStatus orderStatus)
 {
     return(orderStatus.Save());
 }
Ejemplo n.º 4
0
        /// <summary>
        /// Update the order status for this order
        /// </summary>
        /// <param name="orderStatusId">Id of the new order status to set</param>
        public void UpdateOrderStatus(int orderStatusId)
        {
            OrderStatus orderStatus = OrderStatusDataSource.Load(orderStatusId);

            this.UpdateOrderStatus(orderStatus);
        }