/**
     * Deletes an associated StateProvince
     * @param StateProvince $objStateProvince
     * @return void
     */
    public function DeleteAssociatedStateProvince(StateProvince $objStateProvince)
    {
        if (is_null($this->intCountryId)) {
            throw new QUndefinedPrimaryKeyException('Unable to call UnassociateStateProvince on this unsaved Country.');
        }
        if (is_null($objStateProvince->StateProvinceId)) {
            throw new QUndefinedPrimaryKeyException('Unable to call UnassociateStateProvince on this Country with an unsaved StateProvince.');
        }
        // Get the Database Object for this Class
        $objDatabase = Country::GetDatabase();
        // Perform the SQL Query
        $objDatabase->NonQuery('
				DELETE FROM
					`state_province`
				WHERE
					`state_province_id` = ' . $objDatabase->SqlVariable($objStateProvince->StateProvinceId) . ' AND
					`country_id` = ' . $objDatabase->SqlVariable($this->intCountryId) . '
			');
        // Journaling
        if ($objDatabase->JournalingDatabase) {
            $objStateProvince->Journal('DELETE');
        }
    }