<commit_before>using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;
using System.Configuration;

namespace Data.Database
{
    public class Adapter
    {
        //private SqlConnection sqlConn = new SqlConnection("ConnectionString;");

        private SqlConnection sqlConn;

        //Clave por defecto a utlizar para la cadena de conexion

        const string consKeyDefaultCnnString = "ConnStringExpress";

        public SqlConnection SqlConn
        {
            get
            {
                return sqlConn;
            }

            set
            {
                sqlConn = value;
            }
        }

        protected void OpenConnection()
        {
            string connString = ConfigurationManager.ConnectionStrings[consKeyDefaultCnnString].ConnectionString;
            sqlConn = new SqlConnection(connString);
            sqlConn.Open();
            //throw new Exception("Error al conectar a base de datos");
        }

        protected void CloseConnection()
        {
            sqlConn.Close();
            sqlConn = null;
            //throw new Exception("Metodo no implementado");
        }

        protected SqlDataReader ExecuteReader(String commandText)
        {
            throw new Exception("Metodo no implementado");
        }
    }
}
<commit_msg>Comit posterior a unir el master<commit_after>using System;
using System.Collections.Generic;
using System.Text;
using System.Data.SqlClient;
using System.Configuration;

namespace Data.Database
{
    public class Adapter
    {
        //private SqlConnection sqlConn = new SqlConnection("ConnectionString;");

        private SqlConnection sqlConn;

        //Clave por defecto a utlizar para la cadena de conexion

        const string consKeyDefaultCnnString = "ConnStringLocal";

        public SqlConnection SqlConn
        {
            get
            {
                return sqlConn;
            }

            set
            {
                sqlConn = value;
            }
        }

        protected void OpenConnection()
        {
            string connString = ConfigurationManager.ConnectionStrings[consKeyDefaultCnnString].ConnectionString;
            sqlConn = new SqlConnection(connString);
            sqlConn.Open();
            //throw new Exception("Error al conectar a base de datos");
        }

        protected void CloseConnection()
        {
            sqlConn.Close();
            sqlConn = null;
            //throw new Exception("Metodo no implementado");
        }

        protected SqlDataReader ExecuteReader(String commandText)
        {
            throw new Exception("Metodo no implementado");
        }
    }
}

{'fraction_non_alphanumeric': 0.07044864664441973, 'fraction_numerical': 0.0, 'mean_word_length': 1.8221757322175731, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5740830', 'n_tokens_mistral': 652, 'n_tokens_neox': 631, 'n_words': 175}