コード例 #1
0
ファイル: cCommand.cs プロジェクト: shkumat/MyTypes
 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;
         }
     }
 }
コード例 #2
0
ファイル: cCommand.cs プロジェクト: shkumat/MyTypes
 public CRecordSet(CConnection Connection)
 {
     DataReader      = null;
     Command         = new   CCommand(Connection);
     Command.Timeout = 299;
 }