Пример #1
0
        public List <JobQueueEntry> GetDependentJobs(JobQueueEntry job)
        {
            const string sql        = @"select * from eCollect_v1_1.dbo.Jobqueue (nolock) 
                                    where dependsOnJobQueueId = @dependsOnJobQueueId ";
            var          parameters = new[]
            {
                DataUtilities.CreateNullableSqlParameter("@dependsOnJobQueueId", job.JobQueueId),
            };

            return(DataUtilities.SqlExecuteReader <JobQueueEntry>(ConnectionString, DataUtilities.CommandTimeout, sql, parameters));
        }
Пример #2
0
        public List <JobQueueEntry> GetDependentJobs(JobQueueEntry job)
        {
            var jobs = commonTestRepository.GetDependentJobs(job);

            return(jobs);
        }