public UpdateLocalID Find(string tableName, string pkColumn, string oldID)
        {
            UpdateLocalID Result = null;

            foreach (UpdateLocalID item in this)
            {
                if (item.TableName == tableName && item.PKColumn == pkColumn && item.OldID == oldID)
                {
                    Result = item;
                    //break;
                }
            }

            return(Result);
        }
        /// <summary>
        /// Removes old entries from the list of changes
        /// </summary>
        /// <param name="changes">List of changes</param>
        /// <param name="AgeDays">Age in days of entries to remove</param>
        private static void RemoveOldEntries(LocalIDChanges changes, int AgeDays)
        {
            //remove any entries that are 1 week old
            for (int i = changes.Count - 1; i >= 0; i--)
            {
                UpdateLocalID update = changes[i];

                TimeSpan span = DateTime.Now - update.CreateDate;

                if (span.Days > AgeDays)
                {
                    changes.Remove(update);
                }
            }
        }
 /// <summary>
 /// Indicates the existence of an item within the collection
 /// </summary>
 /// <param name="value"></param>
 /// <returns></returns>
 public bool Contains(UpdateLocalID value)
 {
     // If value is not of type OBJECT_TYPE, this will return false.
     return(List.Contains(value));
 }
 /// <summary>
 /// Removes an item from the collection
 /// </summary>
 /// <param name="value"></param>
 public void Remove(UpdateLocalID value)
 {
     List.Remove(value);
 }
 /// <summary>
 /// Inserts an item into the collection
 /// </summary>
 /// <param name="index"></param>
 /// <param name="value"></param>
 public void Insert(int index, UpdateLocalID value)
 {
     List.Insert(index, value);
 }
 /// <summary>
 /// Returns the index of an item within the collection
 /// </summary>
 /// <param name="value"></param>
 /// <returns></returns>
 public int IndexOf(UpdateLocalID value)
 {
     return(List.IndexOf(value));
 }
 /// <summary>
 /// Adds an item to the collection
 /// </summary>
 /// <param name="value"></param>
 /// <returns></returns>
 public int Add(UpdateLocalID value)
 {
     return(List.Add(value));
 }