Beispiel #1
0
 internal ExcelQueryExecutor(ExcelQueryArgs args)
 {
     ValidateArgs(args);
     _args             = args;
     _connectionString = ExcelUtilities.GetConnectionString(args);
     if (_log.IsDebugEnabled)
     {
         _log.DebugFormat("Connection String: {0}", _connectionString);
     }
     GetWorksheetName();
 }
        internal ExcelQueryExecutor(ExcelQueryArgs args)
        {
            ValidateArgs(args);
            _args = args;

            string connectionString = args.PersistentConnection != null ?
                                      args.PersistentConnection.ConnectionString :
                                      ExcelUtilities.GetConnectionString(args);

            if (_log.IsDebugEnabled)
            {
                _log.DebugFormat("Connection String: {0}", connectionString);
            }

            GetWorksheetName();
        }