public static JobIncompleteOutcomeCollection Populate(DataRow[] drMembers)
 {
     JobIncompleteOutcomeCollection colMembers = null;
     if (drMembers != null && drMembers.Length > 0)
     {
         colMembers = new JobIncompleteOutcomeCollection();
         foreach (DataRow drMember in drMembers)
         {
             JobIncompleteOutcome incompleteOutcome = JobIncompleteOutcome.Populate(drMember);
             colMembers.Add(incompleteOutcome);
         }
     }
     return colMembers;
 }
        /// <summary>
        /// Populate Incomplete History
        /// </summary>
        /// <param name="dtResults"></param>
        /// <returns></returns>
        public static JobIncompleteOutcomeCollection Populate(DataTable dtResults)
        {
            JobIncompleteOutcomeCollection colMembers = null;
            JobIncompleteOutcome incompleteOutcome = null;

            if (dtResults!=null && dtResults.Rows.Count > 0)
            {
                colMembers = new JobIncompleteOutcomeCollection();
                foreach (DataRow drMember in dtResults.Rows)
                {
                    incompleteOutcome = new JobIncompleteOutcome();
                    incompleteOutcome.IncompleteReason = drMember["IncompleteReason"].ToString();
                    incompleteOutcome.StartDateTime = (DateTime)drMember["StartDateTime"];
                    incompleteOutcome.EndDateTime = (DateTime)drMember["StopDateTime"];
                    incompleteOutcome.UserID = drMember["UserID"].ToString();
                    colMembers.Add(incompleteOutcome);
                }
            }

            return colMembers;
        }