示例#1
0
        /// <summary>
        /// Construtor
        /// </summary>
        /// <param name="dbConnectionString">String de conexão com o banco de dados incluindo Initial Catalog</param>
        /// <param name="procedureFilesDirectory">Diretório que contém os arquivos .sql das procedures</param>
        public Dispatcher(string dbConnectionString, string procedureFilesDirectory)
        {
            try
            {
                _dbAccess = DBAccess.GetInstance();
                _dbAccess.ConnectionString = dbConnectionString;

                _fileSearcher = new FileSearcher(procedureFilesDirectory);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
        /// <summary>
        /// Construtor
        /// </summary>
        /// <param name="dbConnectionString">String de conexão com o banco de dados incluindo Initial Catalog</param>
        /// <param name="procedureFilesDirectory">Diretório que contém os arquivos .sql das procedures</param>
        public Dispatcher(string dbConnectionString, string procedureFilesDirectory)
        {
            try
            {
                _dbAccess = DBAccess.GetInstance();
                _dbAccess.ConnectionString = dbConnectionString;

                _fileSearcher = new FileSearcher(procedureFilesDirectory);
            }
            catch (Exception e)
            {
                throw e;
            }
        }
示例#3
0
        /// <summary>
        /// Construtor
        /// </summary>
        /// <param name="dbConnectionString">String de conexão com o banco de dados incluindo Initial Catalog</param>
        public Dispatcher(string dbConnectionString)
        {
            try
            {
                _dbAccess = DBAccess.GetInstance();
                _dbAccess.ConnectionString = dbConnectionString;

                _fileSearcher = new FileSearcher();
            }
            catch (Exception e)
            {
                throw e;
            }
        }
        /// <summary>
        /// Construtor
        /// </summary>
        /// <param name="dbConnectionString">String de conexão com o banco de dados incluindo Initial Catalog</param>
        public Dispatcher(string dbConnectionString)
        {
            try
            {
                _dbAccess = DBAccess.GetInstance();
                _dbAccess.ConnectionString = dbConnectionString;

                _fileSearcher = new FileSearcher();
            }
            catch (Exception e)
            {
                throw e;
            }
        }