FreeRedis icon indicating copy to clipboard operation
FreeRedis copied to clipboard

GetDatabase(10).Multi() 这样操作后直接加到第一个库了GetDatabase(10)就没有生效

Open xiaogewujiu opened this issue 3 years ago • 2 comments

图片

xiaogewujiu avatar May 13 '21 03:05 xiaogewujiu

写错了。

using (var db = cli.GetDatabase(10))
{
    using (var tran = db.Multi())
    {
         ....
    }
}

2881099 avatar May 18 '21 03:05 2881099

写错了。

using (var db = cli.GetDatabase(10))
{
    using (var tran = db.Multi())
    {
         ....
    }
}

楼主需要说明下组件试用的redis版本

introspection3 avatar Jun 07 '21 00:06 introspection3