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 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; }
public ActivitySettingsModel() { _keyFields = new string[] { ActivityProperty.ApptNumber, ActivityProperty.CustomerNumber }; _actionIfCompleted = ActionIfCompleted.CreateIfAssignOrReschedule; }