示例#1
0
        private void Initalize(Enums.DatabaseConnector DatabaseConnector, string Hostname, string Database, string Username, string Password, bool DebugMode)
        {
            this._databaseconnector = DatabaseConnector;
            this._hostname          = Hostname;
            this._database          = Database;
            this._username          = Username;
            this._password          = Password;
            this._connected         = false;
            this._debugmode         = DebugMode;

            this._pool = new List <ConnectionThread> ();
        }
示例#2
0
        private void Initalize(Enums.DatabaseConnector DatabaseConnector, string Hostname, string Database, string Username, string Password, bool DebugMode)
        {
            this._databaseconnector = DatabaseConnector;
            this._hostname = Hostname;
            this._database = Database;
            this._username = Username;
            this._password = Password;
            this._connected = false;
            this._debugmode = DebugMode;

            this._pool = new List<ConnectionThread> ();
        }