/**
     * Deletes all associated RoleTransactionTypeAuthorizationsAsCreatedBy
     * @return void
     */
    public function DeleteAllRoleTransactionTypeAuthorizationsAsCreatedBy()
    {
        if (is_null($this->intUserAccountId)) {
            throw new QUndefinedPrimaryKeyException('Unable to call UnassociateRoleTransactionTypeAuthorizationAsCreatedBy on this unsaved UserAccount.');
        }
        // Get the Database Object for this Class
        $objDatabase = UserAccount::GetDatabase();
        // Journaling
        if ($objDatabase->JournalingDatabase) {
            foreach (RoleTransactionTypeAuthorization::LoadArrayByCreatedBy($this->intUserAccountId) as $objRoleTransactionTypeAuthorization) {
                $objRoleTransactionTypeAuthorization->Journal('DELETE');
            }
        }
        // Perform the SQL Query
        $objDatabase->NonQuery('
				DELETE FROM
					`role_transaction_type_authorization`
				WHERE
					`created_by` = ' . $objDatabase->SqlVariable($this->intUserAccountId) . '
			');
    }