/// <summary>
        /// Populates the fields for multiple objects from the columns found in an open reader.
        /// </summary>
        ///
        /// <param name="rdr" type="IDataReader">An object that implements the IDataReader interface</param>
        ///
        /// <returns>Object of CampaignJobs</returns>
        ///
        /// <remarks>
        ///
        /// <RevisionHistory>
        /// Author				Date			Description
        /// DLGenerator			2/3/2010 4:14:00 PM		Created function
        /// 
        /// </RevisionHistory>
        ///
        /// </remarks>
        ///
        internal static AutomationJobs PopulateObjectsFromReaderWithCheckingReader(IDataReader rdr, DatabaseHelper oDatabaseHelper, string ConnectionString)
        {
            AutomationJobs list = new AutomationJobs();

            if (rdr.Read())
            {
                AutomationJob obj = new AutomationJob(ConnectionString);
                PopulateObjectFromReader(obj, rdr);
                list.Add(obj);
                while (rdr.Read())
                {
                    obj = new AutomationJob(ConnectionString);
                    PopulateObjectFromReader(obj, rdr);
                    list.Add(obj);
                }
                oDatabaseHelper.Dispose();
                return list;
            }
            else
            {
                oDatabaseHelper.Dispose();
                return null;
            }
        }
        internal static AutomationJobs PopulateObjectsFromReaderNew(IDataReader rdr, string ConnectionString)
        {
            AutomationJobs list = new AutomationJobs();

            while (rdr.Read())
            {
                AutomationJob obj = new AutomationJob(ConnectionString);
                PopulateObjectFromReaderNew(obj, rdr);
                list.Add(obj);
            }
            return list;
        }