/// <summary>
        /// Creates the batch of items passed in
        /// </summary>
        /// <param name="itemsToCreate">Items to create</param>
        /// <returns>Array of created ids</returns>
        /// 
        public ItemIdType[] CreateBatchedItems(
            ItemType[] itemsToCreate)
        {
            CreateItemType request = new CreateItemType();
            request.MessageDisposition = MessageDispositionType.SaveOnly;
            request.MessageDispositionSpecified = true;

            request.Items = new NonEmptyArrayOfAllItemsType();
            request.Items.Items = itemsToCreate;

            CreateItemResponseType response = this.CreateItem(
                    request);

            ItemIdType[] result = new ItemIdType[itemsToCreate.Length];
            int index = 0;
            foreach (ItemInfoResponseMessageType responseMessage in
                response.ResponseMessages.Items)
            {
                if (responseMessage.ResponseCode == ResponseCodeType.NoError)
                {
                    result[index++] = responseMessage.Items.Items[0].ItemId;
                }
                else
                {
                    result[index++] = null;
                }
            }
            return result;
        }
 /// <summary>
 /// Constructor 
 /// </summary>
 /// <param name="propertyPath">PropertyPath for this single change</param>
 /// <param name="itemWithChange">The item along with the change</param>
 /// 
 public SetItemFieldType(BasePathToElementType propertyPath, ItemType itemWithChange)
 {
     this.Item = propertyPath;
     this.Item1 = itemWithChange;
 }