/// <summary>
        /// Makes a shallow copy of the current DojoBulkAttendanceEntryCollection.
        /// as the parent object.
        /// </summary>
        /// <returns>DojoBulkAttendanceEntryCollection</returns>
        public DojoBulkAttendanceEntryCollection Clone()
        {
            DojoBulkAttendanceEntryCollection clonedDojoBulkAttendanceEntry = new DojoBulkAttendanceEntryCollection(count);

            lock (this)
            {
                foreach (DojoBulkAttendanceEntry item in this)
                {
                    clonedDojoBulkAttendanceEntry.Add(item);
                }
            }
            return(clonedDojoBulkAttendanceEntry);
        }
        /// <summary>
        /// Makes a deep copy of the current DojoBulkAttendanceEntry.
        /// </summary>
        /// <param name="isolation">Placeholders are used to isolate the
        /// items in the DojoBulkAttendanceEntryCollection from their children.</param>
        public DojoBulkAttendanceEntryCollection Copy(bool isolated)
        {
            DojoBulkAttendanceEntryCollection isolatedCollection = new DojoBulkAttendanceEntryCollection(count);

            lock (this)
            {
                if (isolated)
                {
                    for (int i = 0; i < count; i++)
                    {
                        isolatedCollection.Add(DojoBulkAttendanceEntryArray[i].NewPlaceHolder());
                    }
                }
                else
                {
                    for (int i = 0; i < count; i++)
                    {
                        isolatedCollection.Add(DojoBulkAttendanceEntryArray[i].Copy());
                    }
                }
            }
            return(isolatedCollection);
        }