ArrayList ChangedChildRecordsForParentRecord(UPCRMRecord parentRecord, bool userChangesOnly) { ArrayList childRecords = this.ParticipantsControl.ChangedRepParticipantAcceptanceRecords(); if (!userChangesOnly && this.ParticipantsControl.RepAcceptanceInfoAreaId.Length && !parentRecord.IsNew) { UPCRMRecord sync = new UPCRMRecord(this.ParticipantsControl.RepAcceptanceInfoAreaId, "Sync"); sync.AddLink(new UPCRMLink(parentRecord, this.ParticipantsControl.RepAcceptanceLinkId)); if (childRecords) { return(childRecords.ArrayByAddingObject(sync)); } else { return(NSMutableArray.ArrayWithObject(sync)); } } else { return(childRecords); } }