You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1:
var hash = redis.GetDictionary("vm") as RedisHash<String, object>;
var idic = new VmModel { Id = Guid.NewGuid(), Name = "VM1" }.ToDictionary();
hash.HMSet(idic);
var dic = hash.GetAll(); //throw exception " System.Exception: 已到达字符串结尾".
2:
var hash=redis.GetDictionary("vm") as RedisHash<String, VmModel >;
这里的泛型参数不能是自定义的类吗,这么写hash会是null
The text was updated successfully, but these errors were encountered:
1:
var hash = redis.GetDictionary("vm") as RedisHash<String, object>;
var idic = new VmModel { Id = Guid.NewGuid(), Name = "VM1" }.ToDictionary();
hash.HMSet(idic);
var dic = hash.GetAll(); //throw exception " System.Exception: 已到达字符串结尾".
2:
var hash=redis.GetDictionary("vm") as RedisHash<String, VmModel >;
这里的泛型参数不能是自定义的类吗,这么写hash会是null
The text was updated successfully, but these errors were encountered: