public void Close() { if (DataReader != null) { DataReader.Close(); DataReader = null; } if (Command != null) { Command.Close(); Command = null; } }
public CCommand GetCommand() { CCommand Res = new CCommand(this); return(Res); }
public CRecordSet(CConnection Connection) { DataReader = null; Command = new CCommand(Connection); Command.Timeout = 299; }