public void AffixTags(string collection, string id, IEnumerable <Tag> tags) { RequestValidator.ValidateCollectionName(collection); RequestValidator.ValidateId(id); if (tags == null) { throw new SparkException("No tags specified on the request"); } ResourceEntry existing = this.internalRead(collection, id); existing.Tags = _importer.AffixTags(existing, tags); _store.ReplaceEntry(existing); }