/// <summary> /// Returns the number of fields contained in the hash stored at key. /// </summary> /// <returns>The number of fields in the hash, or 0 when key does not exist.</returns> /// <remarks>https://redis.io/commands/hlen</remarks> public Task <long> LengthAsync() { return(RedisDb.HashLengthAsync(KeyName)); }