예제 #1
0
        public Command(int connectionIndex, string commandText, List<KeyValuePair<string, object>> parametersList, Systems.IOSystem ioSystem, bool noTimeout)
        {
            _connectionString = ioSystem.Connection(connectionIndex).ConnectionString;
            _commandText = commandText;
            _ioSystem = ioSystem;
            _isStoredProcedure = true;
            _noTimeOut = noTimeout;

            if (parametersList != null)
                _parametersList = parametersList;
        }
예제 #2
0
        public Command(int connectionIndex, string commandText, Systems.IOSystem ioSystem, bool noTimeout)
        {
            try
            {
                _connectionString = ioSystem.Connection(connectionIndex).ConnectionString;
                _commandText = commandText;
                _ioSystem = ioSystem;
                _noTimeOut = noTimeout;
            }
            catch
            {

            }
        }
예제 #3
0
 public Commands(int connectionIndex, Systems.IOSystem ioSystem, bool noTimeout)
 {
     _connectionString = ioSystem.Connection(connectionIndex).ConnectionString;
     _ioSystem = ioSystem;
     _noTimeOut = noTimeout;
 }