protected BaseAPI() { var rdbms = Recurso.DeConfiguracao("RDBMS", "SqlConnection"); var strConexao = Recurso.DeConexao(rdbms); if (rdbms.Equals("SqlConnection")) { CtrlConexao.Inicializar <SqlConnection>(strConexao); } //else if(rdbms.Equals("MySqlConnection")) // CtrlConexao.Inicializar<MySqlConnection>(strConexao); }