Пример #1
0
        public DatabaseMasterRedis(ConnectionConfig config)
        {
            _connectionConfig = config;

            database = new RedisDBDatabase(_connectionConfig.ConnectionString, true);
        }
Пример #2
0
        public DatabaseMaster(ConnectionConfig config)
        {
            _connectionConfig = config;

            database = DBFactory.CreateDatabase(_connectionConfig.DBType, _connectionConfig.ConnectionString);
        }
Пример #3
0
        public DatabaseMasterMongoDB(ConnectionConfig config)
        {
            _connectionConfig = config;

            database = new MongoDBDatabase(_connectionConfig.ConnectionString, true);
        }
Пример #4
0
 public MongoFileManage(ConnectionConfig config, MongoDBDatabase database, String DatabaseName)
 {
     _connectionConfig = config;
     _database         = database;
     _databasename     = DatabaseName;
 }
Пример #5
0
 public RedisGetData(ConnectionConfig config, RedisDBDatabase database)
 {
     _connectionConfig = config;
     _database         = database;
 }
Пример #6
0
 public MongoDBManage(ConnectionConfig config, MongoDBDatabase database)
 {
     _connectionConfig = config;
     _database         = database;
 }