Пример #1
0
 public function Open()
 {
     $this->Connect();
     if (DebugUtils::GetDebugLevel() == 1) {
         echo $this->selectCommand->GetSQL() . '<br>';
     }
     $this->DoBeforeOpen();
     $this->dataReader = $this->selectCommand->Execute($this->GetConnection());
     $this->rowIndex = 0;
     $this->insertedMode = false;
 }
Пример #2
0
 private function getDataReader()
 {
     $this->Connect();
     if (!$this->dataReader) {
         $this->dataReader = $this->selectCommand->Execute($this->GetConnection());
     }
     return $this->dataReader;
 }