BB.Caching.Cache.Shared.Hashes.Delete C# (CSharp) Метод

Delete() публичный статический Метод

Removes the specified fields from the hash stored at key. Non-existing fields are ignored. Non-existing keys are treated as empty hashes and this command returns 0.
http://redis.io/commands/hdel
public static Delete ( RedisKey key, RedisValue field ) : bool
key RedisKey /// The key. ///
field RedisValue /// The field. ///
Результат bool
                public static bool Delete(RedisKey key, RedisValue field)
                {
                    bool result = SharedCache.Instance.GetWriteConnection(key)
                        .GetDatabase(SharedCache.Instance.Db)
                        .HashDelete(key, field);

                    return result;
                }
                

Same methods

Cache.Shared.Hashes::Delete ( RedisKey key, RedisValue fields ) : long