thepirat000 / CachingFramework.Redis

Distributed caching based on StackExchange.Redis and Redis. Includes support for tagging and is cluster-compatible.
Other
287 stars 52 forks source link

Add a Method AddRange with additional parameter Tags to RedisDictionary #66

Closed saarfa closed 4 years ago

saarfa commented 4 years ago

I use Redis on top of SQLSever, every table has a corresponding hash. I use Tags as foreign keys to create tables relations. In order To support bulk insert of rows having the same parent table relation i need void AddRange(IEnumerable<KeyValuePair<TK, TV>> items, string[] tags); in RedisDictionary. Doe's creating one will be incompatible with a cluster topology.

thepirat000 commented 4 years ago

Method void AddRange(IEnumerable<KeyValuePair<TK, TV>> collection, string[] tags); was added to the RedisDictionary (also an Async version) on version 12.0.2

Please upgrade your references to the latest and re-test