예제 #1
0
        public RedisObject GetById(string id)
        {
            Debug.WriteLine("Getting : " + id);
            var redisValue  = RedisContext.Db.StringGet(id);
            var redisObject = new RedisObject {
                Key = id, Value = redisValue.ToString()
            };

            return(redisObject);
        }
예제 #2
0
 public void Delete(RedisObject entity)
 {
     Debug.WriteLine("Deleting");
 }
예제 #3
0
 public void Insert(RedisObject entity)
 {
     Debug.WriteLine("Inserting");
 }