Esempio n. 1
0
        // GET api/job/5
        public Job Get(Int64 id)
        {
            this.oDB = new db(oConfig.ConnectionString);
            System.Data.DataRow oJobRow = oDB.getJob(id);

            return Job.getInstance(oJobRow["JSON"].ToString());
        }
Esempio n. 2
0
        private void ThisWorkbook_Startup(object sender, System.EventArgs e)
        {
            oCfg = new ConfigurationHelpper();
            oDb = new db(oCfg.ConnectionStringSQL.ToString());

            //get the job data
            oJob = IMSClasses.Jobs.Job.getInstance(oDb.getJob(oCfg.JobID)["JSON"].ToString());

            this.RemoveCustomization();
            this.StatusMessage = "";
            this.StatusCorrect = true;
        }