protected ProductFeed CreateBatchFeed(List<ProductEntry> products, GDataBatchOperationType operation) { ProductFeed feed = new ProductFeed(null, this); foreach(ProductEntry product in products) { if (product.BatchData != null) { product.BatchData.Type = operation; } else { product.BatchData = new GDataBatchEntryData(operation); } feed.Entries.Add(product); } return feed; }