public BaseRDal2(string host, string password) { var redisConfig = RedisConfigHelper.DefaultRedisConfig; redisConfig.Host = host; redisConfig.Password = password; redisTableHelper = new RedisTableHelper <TModel>(redisConfig); }
public PerformanceTestService(string host, string password) { var dataConfig = RedisConfigHelper.DefaultRedisConfig; dataConfig.Host = host; dataConfig.Password = password; redisHelper = new RedisHelper(dataConfig); redisRowHelper = new RedisRowHelper <RPublish_Relation>(dataConfig); redisMultiKeysInSetHelper = new RedisMultiKeysInSetHelper <RPublish_Relation>(dataConfig); redisTableHelper = new RedisTableHelper <RPublish_Relation>(dataConfig); }