public static AutoOrderSchedule CreateAutoOrderSchedule(int autoOrderID, global::System.DateTime scheduledDate, bool isEnabled) { AutoOrderSchedule autoOrderSchedule = new AutoOrderSchedule(); autoOrderSchedule.AutoOrderID = autoOrderID; autoOrderSchedule.ScheduledDate = scheduledDate; autoOrderSchedule.IsEnabled = isEnabled; return autoOrderSchedule; }
public void AddToAutoOrderSchedules(AutoOrderSchedule autoOrderSchedule) { base.AddObject("AutoOrderSchedules", autoOrderSchedule); }