Esempio n. 1
0
 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;
         }
     }
 }
Esempio n. 2
0
 public CRecordSet(CConnection Connection)
 {
     DataReader      = null;
     Command         = new   CCommand(Connection);
     Command.Timeout = 299;
 }