ATUL_v1.AtulBusinessLogic.CreateProcessSchedule C# (CSharp) Method

CreateProcessSchedule() public method

public CreateProcessSchedule ( long ProcessID, string scheduleVersion, System.DateTime nextScheduled, string repeatSchedule, string instantiatedUsers ) : Schedule
ProcessID long
scheduleVersion string
nextScheduled System.DateTime
repeatSchedule string
instantiatedUsers string
return Schedule
        public Schedule CreateProcessSchedule(long ProcessID, string scheduleVersion, DateTime nextScheduled, string repeatSchedule, string instantiatedUsers)
        {
            long ScheduleID = 0;
            Atul_v1Data adb = new Atul_v1Data();
            Schedule s;
            ScheduleID = adb.CreateProcessSchedule(ProcessID, scheduleVersion, nextScheduled, repeatSchedule, instantiatedUsers);
            s = adb.GetProcessScheduleByID(ScheduleID);
            this.PushNextScheduleToAdminQueue(s, s.NextScheduledDate);
            return s;
        }

Usage Example

Beispiel #1
0
 public Schedule CreateProcessSchedule(string ProcessID, string scheduleVersion, string nextScheduled, string repeatSchedule, string instantiatedUsers)
 {
     Schedule s;
     long AtulProcessID = Convert.ToInt64(ProcessID);
     DateTime NextScheduledDate = DateTime.Parse(nextScheduled);
     AtulBusinessLogic adb = new AtulBusinessLogic();
     s = adb.CreateProcessSchedule(AtulProcessID, scheduleVersion, NextScheduledDate, repeatSchedule, instantiatedUsers);
     return s;
 }
AtulBusinessLogic