/** * Deletes all associated QcodoInterfaces * @return void */ public function DeleteAllQcodoInterfaces() { if (is_null($this->intId)) { throw new QUndefinedPrimaryKeyException('Unable to call UnassociateQcodoInterface on this unsaved File.'); } // Get the Database Object for this Class $objDatabase = File::GetDatabase(); // Perform the SQL Query $objDatabase->NonQuery(' DELETE FROM `qcodo_interface` WHERE `file_id` = ' . $objDatabase->SqlVariable($this->intId) . ' '); }