Interface IRedisHydrateable
An object that can be hydrated too and from a Redis Hash.
Namespace: Redis.OM.Contracts
Assembly: Redis.OM.dll
Syntax
public interface IRedisHydrateable
Methods
| Improve this Doc View SourceBuildHashSet()
Converts object to dictionary for Redis.
Declaration
IDictionary<string, string> BuildHashSet()
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | A dictionary for Redis. |
Hydrate(IDictionary<String, String>)
Hydrates the object.
Declaration
void Hydrate(IDictionary<string, string> dict)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | dict | The dictionary to hydrate from. |