public bool CreateOrUpdateIfLatest(string id, DateTimeOffset targetVersion, IDictionary <string, string> otherMetadata, TDocument document) { string text = JsonConvert.SerializeObject(document, SerializerSettings); return(_innerStore.CreateOrUpdateIfLatest(id, targetVersion, otherMetadata, text)); }