Show / Hide Table of Contents

Interface IRedisConnection

A connection to Redis.

Inherited Members
System.IDisposable.Dispose()
Namespace: Redis.OM.Contracts
Assembly: Redis.OM.dll
Syntax
public interface IRedisConnection : IDisposable

Methods

| Improve this Doc View Source

Execute(String, String[])

Executes a command.

Declaration
RedisReply Execute(string command, params string[] args)
Parameters
Type Name Description
System.String command

The command name.

System.String[] args

The arguments.

Returns
Type Description
RedisReply

A redis Reply.

| Improve this Doc View Source

ExecuteAsync(String, String[])

Executes a command.

Declaration
Task<RedisReply> ExecuteAsync(string command, params string[] args)
Parameters
Type Name Description
System.String command

The command name.

System.String[] args

The arguments.

Returns
Type Description
System.Threading.Tasks.Task<RedisReply>

A redis Reply.

Extension Methods

RedisCommands.SetAsync(IRedisConnection, Object)
RedisCommands.HSetAsync(IRedisConnection, String, KeyValuePair<String, String>[])
RedisCommands.JsonSetAsync(IRedisConnection, String, String, String)
RedisCommands.JsonSetAsync(IRedisConnection, String, String, Object)
RedisCommands.HSet(IRedisConnection, String, KeyValuePair<String, String>[])
RedisCommands.JsonSet(IRedisConnection, String, String, String)
RedisCommands.JsonSet(IRedisConnection, String, String, Object)
RedisCommands.Set(IRedisConnection, Object)
RedisCommands.Get<T>(IRedisConnection, String)
RedisCommands.GetAsync<T>(IRedisConnection, String)
RedisCommands.JsonGet<T>(IRedisConnection, String, String[])
RedisCommands.HGetAll(IRedisConnection, String)
RedisCommands.HGetAllAsync(IRedisConnection, String)
RedisCommands.CreateAndEvalAsync(IRedisConnection, String, String[], String[], String)
RedisCommands.CreateAndEval(IRedisConnection, String, String[], String[], String)
RedisCommands.Unlink(IRedisConnection, String)
RedisCommands.UnlinkAsync(IRedisConnection, String)
RediSearchCommands.Search<T>(IRedisConnection, RedisQuery)
RediSearchCommands.SearchAsync<T>(IRedisConnection, RedisQuery)
RediSearchCommands.CreateIndex(IRedisConnection, Type)
RediSearchCommands.CreateIndexAsync(IRedisConnection, Type)
RediSearchCommands.DropIndexAsync(IRedisConnection, Type)
RediSearchCommands.DropIndex(IRedisConnection, Type)
RediSearchCommands.DropIndexAndAssociatedRecords(IRedisConnection, Type)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX