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 SourceExecute(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. |
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. |