Example #1
0
 /// <summary>
 /// Constructor from model.
 /// </summary>
 /// <param name="data">SqlScheduleModel object used to instantiate SqlSchedule.</param>
 public SqlSchedule(SqlScheduleModel model)
 {
     Data = new SqlScheduleData(model);
 }
Example #2
0
        /// <summary>
        /// Initialise required properties.
        /// </summary>
        public void CreateObjects()
        {
            StartStep = new SqlStepModel();
            NotifyLevelEventLog = new SqlLevelModel();
            NotifyLevelEmail = new SqlLevelModel();
            NotifyLevelNetsend  = new SqlLevelModel();
            NotifyLevelPage  = new SqlLevelModel();
            DeleteLevel  = new SqlLevelModel();
            LastRunOutcome  = new SqlOutcomeModel();
            NextRunSchedule  = new SqlScheduleModel();
            CurrentExecutionStatus  = new SqlExecutionStatusModel();
            Steps = new SqlStepListModel();
            Schedules = new SqlScheduleListModel();
            TargetServers  = new SqlTargetServerListModel();

            ExecutionStatusLookup = new SqlExecutionStatusListModel();
            OutcomeLookup = new SqlOutcomeListModel();
            LevelLookup = new SqlLevelListModel();
        }