/** * Deletes all associated RoleEntityQtypeCustomFieldAuthorizations * @return void */ public function DeleteAllRoleEntityQtypeCustomFieldAuthorizations() { if (is_null($this->intEntityQtypeCustomFieldId)) { throw new QUndefinedPrimaryKeyException('Unable to call UnassociateRoleEntityQtypeCustomFieldAuthorization on this unsaved EntityQtypeCustomField.'); } // Get the Database Object for this Class $objDatabase = EntityQtypeCustomField::GetDatabase(); // Perform the SQL Query $objDatabase->NonQuery(' DELETE FROM `role_entity_qtype_custom_field_authorization` WHERE `entity_qtype_custom_field_id` = ' . $objDatabase->SqlVariable($this->intEntityQtypeCustomFieldId) . ' '); }