Ejemplo n.º 1
0
        public static string GetString(ActionIfCompleted actionIfCompleted)
        {
            string ret = "";

            switch (actionIfCompleted)
            {
            case ActionIfCompleted.Create:
                ret = "create";
                break;

            case ActionIfCompleted.Ignore:
                ret = "ignore";
                break;

            case ActionIfCompleted.Update:
                ret = "update";
                break;

            default:
                ret = "create_if_reassign_or_reschedule";
                break;
            }
            return(ret);
        }
Ejemplo n.º 2
0
 public static string GetString(ActionIfCompleted actionIfCompleted)
 {
     
     string ret = "";
     switch (actionIfCompleted)
     {
         case ActionIfCompleted.Create:
             ret = "create";
             break;
         case ActionIfCompleted.Ignore:
             ret = "ignore";
             break;
         case ActionIfCompleted.Update:
             ret = "update";
             break;
         default:
             ret = "create_if_reassign_or_reschedule";
             break;
     }
     return ret;
 }
 public ActivitySettingsModel()
 {
     _keyFields = new string[] {ActivityProperty.ApptNumber, ActivityProperty.CustomerNumber};
     _actionIfCompleted = ActionIfCompleted.CreateIfAssignOrReschedule;
 }
Ejemplo n.º 4
0
 public ActivitySettingsModel()
 {
     _keyFields         = new string[] { ActivityProperty.ApptNumber, ActivityProperty.CustomerNumber };
     _actionIfCompleted = ActionIfCompleted.CreateIfAssignOrReschedule;
 }