public BatchResult Execute(StorageActions storage) { storage.Delete(Key, Etag); return new BatchResult { Key = Key, }; }
public BatchResult Execute(StorageActions storage) { var guid = storage.Add(Key, Metadata.Value<string>(Constants.RavenEntityName) ?? "",Etag, Metadata, Document); return new BatchResult { Etag = guid, Key = Key, }; }