2881099 / FreeRedis

🦄 FreeRedis is .NET40+ redis client. supports cluster, sentinel, master-slave, pub-sub, lua, pipeline, transaction, streams, redisearch, client-side-caching, and pooling.
MIT License
925 stars 166 forks source link

使用Set方法存储类信息是,直接传入一个类,结果存储进去的是类型,难道必须转换成string才可以存入吗? #185

Open murongqingsi opened 6 months ago

murongqingsi commented 6 months ago

方法支持泛型的呀 image

2881099 commented 6 months ago

你需要设置序列化默认没有开启这个功能,仔细看一看,readme 上面的代码