Example #1
0
        Delete(Schedule sched)
        {
            string command = "DELETE from schedule WHERE schedulenum = '" + POut.PInt(sched.ScheduleNum) + "'";

            General.NonQ(command);
            //if this was the last blockout for a day, then create a blockout for 'closed'
            if (sched.SchedType == ScheduleType.Blockout)
            {
                Schedules.CheckIfDeletedLastBlockout(sched.SchedDate);
            }
        }