public static bool Init(string databaseType, string[] connectArgs) { if (databaseType == "MySQL") { Database = new MySQLController(); } else if (databaseType == "LiteDB") { //Database = new LiteDBController(); } Database.ConnectToDatabase(connectArgs); return(true); }