/**
     * Deletes all associated ClassAttendences
     * @return void
     */
    public function DeleteAllClassAttendences()
    {
        if (is_null($this->intSignupEntryId)) {
            throw new QUndefinedPrimaryKeyException('Unable to call UnassociateClassAttendence on this unsaved ClassRegistration.');
        }
        // Get the Database Object for this Class
        $objDatabase = ClassRegistration::GetDatabase();
        // Journaling
        if ($objDatabase->JournalingDatabase) {
            foreach (ClassAttendence::LoadArrayByClassRegistrationId($this->intSignupEntryId) as $objClassAttendence) {
                $objClassAttendence->Journal('DELETE');
            }
        }
        // Perform the SQL Query
        $objDatabase->NonQuery('
				DELETE FROM
					`class_attendence`
				WHERE
					`class_registration_id` = ' . $objDatabase->SqlVariable($this->intSignupEntryId) . '
			');
    }