/**
     * Deletes all associated NarroProjectsAsProjectCategory
     * @return void
     */
    public function DeleteAllNarroProjectsAsProjectCategory()
    {
        if (is_null($this->intProjectCategoryId)) {
            throw new QUndefinedPrimaryKeyException('Unable to call UnassociateNarroProjectAsProjectCategory on this unsaved NarroProjectCategory.');
        }
        // Get the Database Object for this Class
        $objDatabase = NarroProjectCategory::GetDatabase();
        // Perform the SQL Query
        $objDatabase->NonQuery('
				DELETE FROM
					`narro_project`
				WHERE
					`project_category_id` = ' . $objDatabase->SqlVariable($this->intProjectCategoryId) . '
			');
    }