public CCommand(CConnection ConnObj) { Comm = null; if (ConnObj == null) { } else if (ConnObj.IsOpen()) { try { Comm = ConnObj.CreateCommand(); } catch (System.Exception Excpt) { Err.Add(Excpt); Comm = null; } } }
public CRecordSet(CConnection Connection) { DataReader = null; Command = new CCommand(Connection); Command.Timeout = 299; }