Beispiel #1
0
        public void Execute(IJobExecutionContext context)
        {
            JobDataMap    data          = context.JobDetail.JobDataMap;
            string        databaseName  = data.GetString("DataBaseName");
            ExecuteBackUp executeBackUp = new ExecuteBackUp();

            executeBackUp.BackUpDataBase(databaseName);
        }
Beispiel #2
0
        public void Execute(IJobExecutionContext context)
        {
            ExecuteBackUp executeBackUp = new ExecuteBackUp();

            executeBackUp.BackUpTables();
        }
Beispiel #3
0
        public void Execute(IJobExecutionContext context)
        {
            ExecuteBackUp executeBackUp = new ExecuteBackUp();

            executeBackUp.BackUpDataBase();
        }