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)); }
public List <JobQueueEntry> GetDependentJobs(JobQueueEntry job) { var jobs = commonTestRepository.GetDependentJobs(job); return(jobs); }