public override bool Equals(object obj)
        {
            MesScmsCompletedOrder another = obj as MesScmsCompletedOrder;

            if (another == null)
            {
                return(false);
            }
            else
            {
                return(this.OrderNo == another.OrderNo);
            }
        }
 public virtual void UpdateMesScmsCompletedOrder(MesScmsCompletedOrder entity)
 {
     entityDao.Update(entity);
 }
 public void Complete(MesScmsCompletedOrder mesScmsCompletedOrder)
 {
     mesScmsCompletedOrder.Flag = MesDssConstants.MES_SCMS_FLAG_SCMS_UPDATED;
     this.UpdateMesScmsCompletedOrder(mesScmsCompletedOrder);
 }