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; }
public Command(int connectionIndex, string commandText, Systems.IOSystem ioSystem, bool noTimeout) { try { _connectionString = ioSystem.Connection(connectionIndex).ConnectionString; _commandText = commandText; _ioSystem = ioSystem; _noTimeOut = noTimeout; } catch { } }
public Commands(int connectionIndex, Systems.IOSystem ioSystem, bool noTimeout) { _connectionString = ioSystem.Connection(connectionIndex).ConnectionString; _ioSystem = ioSystem; _noTimeOut = noTimeout; }