Exemple #1
0
        //Database Name contructor = 1
        public dataBase(databases Database, string DatabaseName)
        {
            this.Database     = Database;
            this.DatabaseName = DatabaseName;

            SelectedDatabase = Database.ToString();
        }
Exemple #2
0
        //Full data constructor = 0
        public dataBase(databases Database, string DatabaseName, string UserName, string Password, string Host)
        {
            this.Database     = Database;
            this.DatabaseName = DatabaseName;
            this.Host         = Host;
            this.UserName     = UserName;
            this.Password     = Password;

            SelectedDatabase = Database.ToString();
        }