Exemplo n.º 1
0
 /// <summary>
 /// Constructor from model.
 /// </summary>
 /// <param name="data">SqlStepModel object used to instantiate SqlStep.</param>
 public SqlStep(SqlStepModel model)
 {
     Data = new SqlStepData(model);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initialises required objects.
 /// </summary>
 public void CreateObjects()
 {
     Job = new SqlJobModel(false);
     OnSuccessAction = new SqlActionModel();
     OnSuccessStep = new SqlStepModel(false);
     OnFailureAction = new SqlActionModel();
     OnFailureStep = new SqlStepModel(false);
 }
Exemplo n.º 3
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();
        }