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