public void Update(JobRun jobRun)
        {
            using (var connection = this.connectionFactory.Open())
            {
                var entity = jobRun.ToEntity();

                connection.Update(entity);
            }
        }
        public void AddJobRun(JobRun jobRun)
        {
            var entity = jobRun.ToEntity();

            using (var connection = this.connectionFactory.Open())
            {
                jobRun.Id = connection.Insert(entity, true);
            }
        }